Commit 4860be47 authored by Aida Jonikienė's avatar Aida Jonikienė Committed by Alexandre Julliard

msvcrt: Handle wide specifiers option in __stdio_common_vfscanf().

This prevents log spam in one game.
parent 934cfb86
...@@ -710,7 +710,7 @@ int CDECL __stdio_common_vfscanf(unsigned __int64 options, ...@@ -710,7 +710,7 @@ int CDECL __stdio_common_vfscanf(unsigned __int64 options,
_locale_t locale, _locale_t locale,
va_list valist) va_list valist)
{ {
if (options & ~_CRT_INTERNAL_SCANF_SECURECRT) if (options & ~(_CRT_INTERNAL_SCANF_SECURECRT | _CRT_INTERNAL_SCANF_LEGACY_WIDE_SPECIFIERS))
FIXME("options %#I64x not handled\n", options); FIXME("options %#I64x not handled\n", options);
if (options & _CRT_INTERNAL_SCANF_SECURECRT) if (options & _CRT_INTERNAL_SCANF_SECURECRT)
return vfscanf_s_l(file, format, locale, valist); return vfscanf_s_l(file, format, locale, valist);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment