shell32: Fix the name of the 'Application Data' folders.

Francois Gouget fgouget at free.fr
Mon Feb 6 18:04:07 CST 2012


---

I got confused between 'AppData', 'Application Data' and 'Local 
Settings/Application Data' when I removed the shell folder translations 
so that I used the wrong string variable. I did not actually mean to 
rename 'Application Data' to something else (and the compiler does not 
warn of unused static variables apparently :-( )

 dlls/shell32/shellpath.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c
index 5620226..022202a0 100644
--- a/dlls/shell32/shellpath.c
+++ b/dlls/shell32/shellpath.c
@@ -1024,7 +1024,7 @@ static const CSIDL_DATA CSIDL_Data[] =
         &FOLDERID_RoamingAppData,
         CSIDL_Type_User,
         AppDataW,
-        AppDataW
+        Application_DataW
     },
     { /* 0x1b - CSIDL_PRINTHOOD */
         &FOLDERID_PrintHood,
@@ -1036,7 +1036,7 @@ static const CSIDL_DATA CSIDL_Data[] =
         &FOLDERID_LocalAppData,
         CSIDL_Type_User,
         Local_AppDataW,
-        Local_AppDataW
+        Local_Settings_Application_DataW
     },
     { /* 0x1d - CSIDL_ALTSTARTUP */
         &GUID_NULL,
@@ -1078,7 +1078,7 @@ static const CSIDL_DATA CSIDL_Data[] =
         &FOLDERID_ProgramData,
         CSIDL_Type_AllUsers,
         Common_AppDataW,
-        AppDataW
+        Application_DataW
     },
     { /* 0x24 - CSIDL_WINDOWS */
         &FOLDERID_Windows,
-- 
1.7.8.3



More information about the wine-patches mailing list