diff --git a/source/shared_lib/sources/util/properties.cpp b/source/shared_lib/sources/util/properties.cpp index 7ee8a1176..2f886daf0 100644 --- a/source/shared_lib/sources/util/properties.cpp +++ b/source/shared_lib/sources/util/properties.cpp @@ -110,7 +110,7 @@ bool Properties::applyTagsToValue(string &value) { #ifdef WIN32 TCHAR szPath[MAX_PATH]=""; // Get path for each computer, non-user specific and non-roaming data. - if ( SUCCEEDED( SHGetFolderPath( NULL, CSIDL_COMMON_APPDATA, + if ( SUCCEEDED( SHGetFolderPath( NULL, CSIDL_APPDATA, NULL, 0, szPath))) { string appPath = szPath; replaceAll(value, "$APPDATA", appPath);