Commit ec2e9e01 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

ConfigDir mess up on windows.

parent 4f6fb365
......@@ -87,8 +87,8 @@ static const char *GetDir( bool b_appdata, bool b_common_appdata )
# else
/* Get the "Application Data" folder for the current user */
if( S_OK == SHGetFolderPathW( NULL,
(b_appdata ? CSIDL_APPDATA :
(b_common_appdata ? CSIDL_PERSONAL : CSIDL_COMMON_APPDATA))
( b_appdata ? CSIDL_APPDATA :
( b_common_appdata ? CSIDL_COMMON_APPDATA: CSIDL_PERSONAL ) )
| CSIDL_FLAG_CREATE,
NULL, SHGFP_TYPE_CURRENT, wdir ) )
# endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment