From bc6d87ba324040dcb82392e3f29709351a146d1f Mon Sep 17 00:00:00 2001 From: "Alexander \"Ace\" Olofsson" Date: Sat, 8 Sep 2012 23:04:53 +0200 Subject: [PATCH] Oops, that would've broken getUserPath() on Linux... --- components/files/linuxpath.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/components/files/linuxpath.cpp b/components/files/linuxpath.cpp index 1716757c69..0f08b67feb 100644 --- a/components/files/linuxpath.cpp +++ b/components/files/linuxpath.cpp @@ -57,11 +57,10 @@ boost::filesystem::path LinuxPath::getUserPath() const if (theDir != NULL) { - suffix = boost::filesystem::path("/.config/"); userPath = boost::filesystem::path(theDir); } - return userPath / mName; + return userPath / ".config" / mName; } boost::filesystem::path LinuxPath::getCachePath() const @@ -82,9 +81,8 @@ boost::filesystem::path LinuxPath::getCachePath() const { userPath = boost::filesystem::path(theDir); } - userPath /= ".cache"; - return userPath / mName; + return userPath / ".cache" / mName; } boost::filesystem::path LinuxPath::getGlobalPath() const