From 45b87e46d5ca205d8c3cb6f3e492e84e57a51c7b Mon Sep 17 00:00:00 2001 From: Markus Date: Sun, 29 Sep 2019 12:26:24 +0200 Subject: [PATCH] fix wrong p --- parameterManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parameterManager.cpp b/parameterManager.cpp index 316269d..6f34778 100644 --- a/parameterManager.cpp +++ b/parameterManager.cpp @@ -11,8 +11,8 @@ int setPaths(Settings &settings) settings.pathSymbol = '/'; #endif #ifdef _WIN32 - CacheDir = std::string(getenv("APPDATA")) + "\\Local\\S_New4\\"; - SettingsDir = std::string( getenv("APPDATA") ) + "\\Roaming\\S_New4\\"; + CacheDir = std::string(getenv("LOCALAPPDATA")) + "\\S_New4\\"; // C:\Users\{username}\AppData\Local + SettingsDir = std::string( getenv("APPDATA") ) + "\\S_New4\\"; // C:\Users\{username}\AppData\Roaming settings.pathSymbol = '\\'; #endif