Module: wine Branch: master Commit: 4860be474792fb6a66abb5b73619bc0074e39a09 URL: https://gitlab.winehq.org/wine/wine/-/commit/4860be474792fb6a66abb5b73619bc0...
Author: Aida JonikienÄ— aidas957@gmail.com Date: Thu Mar 7 12:20:50 2024 +0200
msvcrt: Handle wide specifiers option in __stdio_common_vfscanf().
This prevents log spam in one game.
---
dlls/msvcrt/scanf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msvcrt/scanf.c b/dlls/msvcrt/scanf.c index 89575101471..c8bbe15f373 100644 --- a/dlls/msvcrt/scanf.c +++ b/dlls/msvcrt/scanf.c @@ -710,7 +710,7 @@ int CDECL __stdio_common_vfscanf(unsigned __int64 options, _locale_t locale, 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); if (options & _CRT_INTERNAL_SCANF_SECURECRT) return vfscanf_s_l(file, format, locale, valist);