Browse Source

AppData -> Local AppData

David Rose 16 years ago
parent
commit
fdaca46eb9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/src/dtoolutil/filename.cxx

+ 1 - 1
dtool/src/dtoolutil/filename.cxx

@@ -577,7 +577,7 @@ get_user_appdata_directory() {
 #ifdef WIN32
     char buffer[MAX_PATH];
 
-    if (SHGetSpecialFolderPath(NULL, buffer, CSIDL_APPDATA, true)) {
+    if (SHGetSpecialFolderPath(NULL, buffer, CSIDL_LOCAL_APPDATA, true)) {
       Filename dirname = from_os_specific(buffer);
       if (dirname.is_directory()) {
         if (dirname.make_canonical()) {