From: Amine Khaldi Date: Sat, 23 Nov 2019 11:08:24 +0000 (+0100) Subject: [PRINTUI] Sync with Wine Staging 4.18. CORE-16441 X-Git-Tag: 0.4.14-RC~1149 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=58bd269253edeae526649d7a846eefa05ad63a32 [PRINTUI] Sync with Wine Staging 4.18. CORE-16441 --- diff --git a/dll/win32/printui/printui.c b/dll/win32/printui/printui.c index 32e7b52e3d1..f35107fa0b2 100644 --- a/dll/win32/printui/printui.c +++ b/dll/win32/printui/printui.c @@ -31,7 +31,6 @@ #include "winnls.h" #include "shellapi.h" -#include "wine/unicode.h" #include "wine/debug.h" #include "printui_private.h" @@ -151,7 +150,7 @@ static BOOL parse_rundll(context_t * cx) while ( c ) { txtW[0] = c; - ptr = strchrW(optionsW, c); + ptr = wcschr(optionsW, c); if (ptr) { index = ptr - optionsW; cx->options[index] = get_next_wstr(cx); @@ -160,7 +159,7 @@ static BOOL parse_rundll(context_t * cx) } else { - ptr = strchrW(flagsW, c); + ptr = wcschr(flagsW, c); if (ptr) { index = ptr - flagsW; cx->flags[index] = TRUE; diff --git a/media/doc/README.WINE b/media/doc/README.WINE index b5e19d9b2e7..b2ba781f32c 100644 --- a/media/doc/README.WINE +++ b/media/doc/README.WINE @@ -151,7 +151,7 @@ dll/win32/olethk32 # Synced to WineStaging-3.3 dll/win32/pdh # Synced to WineStaging-4.18 dll/win32/pidgen # Synced to WineStaging-4.18 dll/win32/powrprof # Forked at Wine-1.0rc5 -dll/win32/printui # Synced to WineStaging-3.3 +dll/win32/printui # Synced to WineStaging-4.18 dll/win32/propsys # Synced to WineStaging-4.0 dll/win32/pstorec # Synced to WineStaging-3.3 dll/win32/qmgr # Synced to WineStaging-4.0