diff options
author | wm4 <wm4@nowhere> | 2015-08-01 20:51:52 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-08-01 21:09:11 +0200 |
commit | 41101c2996262c47757bc3bbf39cc11bd7dc5f99 (patch) | |
tree | 2add0f03bfd0a318880b9de5888f2ff264ad82d6 /osdep/path-win.c | |
parent | fefac2c941149fb49bcb5126060be74494d0c287 (diff) | |
download | mpv-41101c2996262c47757bc3bbf39cc11bd7dc5f99.tar.bz2 mpv-41101c2996262c47757bc3bbf39cc11bd7dc5f99.tar.xz |
win32: revert wchar_t changes
Revert "win32: more wchar_t -> WCHAR replacements"
Revert "win32: replace wchar_t with WCHAR"
Doing a "partial" port of this makes no sense anymore from my
perspective. Revert the changes, as they're confusing without
context, maintenance, and progress. These changes were a bit
premature anyway, and might actually cause other issues
(locale neutrality etc. as it was pointed out).
Diffstat (limited to 'osdep/path-win.c')
-rw-r--r-- | osdep/path-win.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep/path-win.c b/osdep/path-win.c index 79dffc77a2..a735fad069 100644 --- a/osdep/path-win.c +++ b/osdep/path-win.c @@ -31,7 +31,7 @@ static char *portable_path; static char *mp_get_win_exe_dir(void *talloc_ctx) { - WCHAR w_exedir[MAX_PATH + 1] = {0}; + wchar_t w_exedir[MAX_PATH + 1] = {0}; int len = (int)GetModuleFileNameW(NULL, w_exedir, MAX_PATH); int imax = 0; @@ -54,7 +54,7 @@ static char *mp_get_win_exe_subdir(void *ta_ctx, const char *name) static char *mp_get_win_shell_dir(void *talloc_ctx, int folder) { - WCHAR w_appdir[MAX_PATH + 1] = {0}; + wchar_t w_appdir[MAX_PATH + 1] = {0}; if (SHGetFolderPathW(NULL, folder|CSIDL_FLAG_CREATE, NULL, SHGFP_TYPE_CURRENT, w_appdir) != S_OK) |