diff options
Diffstat (limited to '')
-rw-r--r-- | src/fs/Traits.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/Traits.cxx b/src/fs/Traits.cxx index 4c8d7012c..225a6ee71 100644 --- a/src/fs/Traits.cxx +++ b/src/fs/Traits.cxx @@ -74,7 +74,7 @@ GetParentPathImpl(typename Traits::const_pointer p) typename Traits::const_pointer sep = Traits::FindLastSeparator(p); if (sep == nullptr) - return typename Traits::string("."); + return typename Traits::string(Traits::CURRENT_DIRECTORY); if (sep == p) return typename Traits::string(p, p + 1); #ifdef WIN32 |