mirror of
https://github.com/glest/glest-source.git
synced 2025-08-20 23:21:19 +02:00
- changed win32 to substitute $APPDATA for the current users app data folder instead of all users
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user