From: Geoffroy Couprie Date: Mon, 28 Dec 2009 16:09:07 +0000 (+0100) Subject: CSIDL_COMMON_APPDATA means All Users\Appdata, not MyUser\AppData X-Git-Tag: 1.1.0-ff~1655 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=f1144aea3a745d7005bcab2047f4b0ce3bfc082a;p=vlc CSIDL_COMMON_APPDATA means All Users\Appdata, not MyUser\AppData --- 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