[vlc-devel] commit: CSIDL_COMMON_APPDATA means All Users\Appdata, not MyUser\AppData ( Geoffroy Couprie )

git version control git at videolan.org
Mon Dec 28 19:12:29 CET 2009


vlc | branch: master | Geoffroy Couprie <geal at videolan.org> | Mon Dec 28 17:09:07 2009 +0100| [f1144aea3a745d7005bcab2047f4b0ce3bfc082a] | committer: Geoffroy Couprie 

CSIDL_COMMON_APPDATA means All Users\Appdata, not MyUser\AppData

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f1144aea3a745d7005bcab2047f4b0ce3bfc082a
---

 src/config/dirs_win.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/config/dirs_win.c b/src/config/dirs_win.c
index ea7410e..71d176e 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




More information about the vlc-devel mailing list