headers: Add a missed case of _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS in _vscwprintf Our _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS define contains _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS, which affects how wide strings are formatted - so this should have a functional effect, fixing an earlier inconsistency with this function. Signed-off-by: Martin Storsjö <martin@martin.st>
diff --git a/mingw-w64-headers/crt/stdio.h b/mingw-w64-headers/crt/stdio.h index 39125a0..332d4a4 100644 --- a/mingw-w64-headers/crt/stdio.h +++ b/mingw-w64-headers/crt/stdio.h
@@ -1365,7 +1365,7 @@ __mingw_ovr int __cdecl _vscwprintf(const wchar_t * __restrict__ _Format, va_list _ArgList) { - int _Result = __stdio_common_vswprintf(_CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, NULL, 0, _Format, NULL, _ArgList); + int _Result = __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, NULL, 0, _Format, NULL, _ArgList); return _Result < 0 ? -1 : _Result; } #else