From b975f1a3cadd05b40e73fe5bf5660f6168a45b30 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Sun, 15 Jan 2012 04:56:38 +0100 Subject: bugfix: Default parameter to complete uses current part upon entering main(), not current path when calling diff --git a/src/boosty.h b/src/boosty.h index 588c2a9..2e7d76b 100644 --- a/src/boosty.h +++ b/src/boosty.h @@ -60,7 +60,7 @@ inline bool is_absolute( fs::path p ) inline fs::path absolute( fs::path p ) { - return fs::complete( p ); + return fs::complete(p, fs::current_path()); } inline std::string stringy( fs::path p ) -- cgit v0.10.1