Windows: use roaming AppData instead of local

Whatever. Fixes #458.
This commit is contained in:
Martin Herkt 2014-01-06 13:44:48 +01:00
parent 7d8cdc810c
commit a857aa8828
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ char *mp_get_win_config_path(const char *filename)
void *tmp = talloc_new(NULL);
#ifndef __CYGWIN__
if (SHGetFolderPathW(NULL, CSIDL_LOCAL_APPDATA|CSIDL_FLAG_CREATE, NULL,
if (SHGetFolderPathW(NULL, CSIDL_APPDATA|CSIDL_FLAG_CREATE, NULL,
SHGFP_TYPE_CURRENT, w_appdir) != S_OK)
w_appdir[0] = '\0';
#endif