From f1144aea3a745d7005bcab2047f4b0ce3bfc082a Mon Sep 17 00:00:00 2001 From: Geoffroy Couprie Date: Mon, 28 Dec 2009 17:09:07 +0100 Subject: [PATCH] CSIDL_COMMON_APPDATA means All Users\Appdata, not MyUser\AppData --- src/config/dirs_win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/dirs_win.c b/src/config/dirs_win.c index ea7410ebae..71d176e778 100644 --- a/src/config/dirs_win.c +++ b/src/config/dirs_win.c @@ -68,7 +68,7 @@ const char *config_GetConfDir (void) BOOL WINAPI SHGetSpecialFolderPath(HWND,LPWSTR,int,BOOL); if( SHGetSpecialFolderPath( NULL, wdir, CSIDL_APPDATA, 1 ) ) #else - /* Get the "Application Data" folder for the current user */ + /* Get the "Application Data" folder for all users */ if( S_OK == SHGetFolderPathW( NULL, CSIDL_COMMON_APPDATA | CSIDL_FLAG_CREATE, NULL, SHGFP_TYPE_CURRENT, wdir ) ) #endif -- 2.39.2