diff options
Diffstat (limited to 'Swiften/Application')
-rw-r--r-- | Swiften/Application/Windows/WindowsApplication.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Application/Windows/WindowsApplication.h b/Swiften/Application/Windows/WindowsApplication.h index d31691c..365157b 100644 --- a/Swiften/Application/Windows/WindowsApplication.h +++ b/Swiften/Application/Windows/WindowsApplication.h @@ -15,8 +15,8 @@ namespace Swift { } boost::filesystem::path getSettingsDir() const { - char* homeDirRaw = getenv("APPDATA"); - boost::filesystem::path result(boost::filesystem::path(getHomeDir()) / getName().getUTF8String()); + char* appDirRaw = getenv("APPDATA"); + boost::filesystem::path result(boost::filesystem::path(appDirRaw) / getName().getUTF8String()); boost::filesystem::create_directory(result); return result; } |