mirror of https://github.com/mpv-player/mpv
Revert "win32: fix desktop directory"
This reverts commit f56a7af9f6
.
This was incorrectly merged. There's no folder parameter in the version
of the function on the release branch.
This commit is contained in:
parent
c00ef456a5
commit
2739ea80b7
|
@ -51,7 +51,7 @@ static char *mp_get_win_app_dir(void *talloc_ctx)
|
||||||
{
|
{
|
||||||
wchar_t w_appdir[MAX_PATH + 1] = {0};
|
wchar_t w_appdir[MAX_PATH + 1] = {0};
|
||||||
|
|
||||||
if (SHGetFolderPathW(NULL, folder|CSIDL_FLAG_CREATE, NULL,
|
if (SHGetFolderPathW(NULL, CSIDL_APPDATA|CSIDL_FLAG_CREATE, NULL,
|
||||||
SHGFP_TYPE_CURRENT, w_appdir) != S_OK)
|
SHGFP_TYPE_CURRENT, w_appdir) != S_OK)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue