diff options
author | James Ross-Gowan <rossymiles@gmail.com> | 2015-06-24 20:49:59 +1000 |
---|---|---|
committer | James Ross-Gowan <rossymiles@gmail.com> | 2015-06-24 21:08:59 +1000 |
commit | 2739ea80b7137daf3f9a39fd3a2ddfd787a6b964 (patch) | |
tree | 0abfe7bf57ef6a314ba4a4e55fddfeddf58756d8 | |
parent | c00ef456a5b65ad65b052712c5aa91ec862f8f3b (diff) | |
download | mpv-2739ea80b7137daf3f9a39fd3a2ddfd787a6b964.tar.bz2 mpv-2739ea80b7137daf3f9a39fd3a2ddfd787a6b964.tar.xz |
Revert "win32: fix desktop directory"release/0.9
This reverts commit f56a7af9f696aab7f4095f282f22dcbe7c758c9e.
This was incorrectly merged. There's no folder parameter in the version
of the function on the release branch.
-rw-r--r-- | osdep/path-win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/path-win.c b/osdep/path-win.c index f22b8a3e84..26f7ffa62e 100644 --- a/osdep/path-win.c +++ b/osdep/path-win.c @@ -51,7 +51,7 @@ static char *mp_get_win_app_dir(void *talloc_ctx) { 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) return NULL; |