The existing form stems from the very early stages of the UCRT
implementation in mingw-w64; there is no reason why we shouldn't
honor the default settings of the executable here.

Signed-off-by: Martin Storsjö <[email protected]>
---
 mingw-w64-crt/stdio/ucrt_ms_fwprintf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mingw-w64-crt/stdio/ucrt_ms_fwprintf.c 
b/mingw-w64-crt/stdio/ucrt_ms_fwprintf.c
index f44c78d94..64b305f53 100644
--- a/mingw-w64-crt/stdio/ucrt_ms_fwprintf.c
+++ b/mingw-w64-crt/stdio/ucrt_ms_fwprintf.c
@@ -17,7 +17,7 @@ int __cdecl __ms_fwprintf(FILE *file, const wchar_t *fmt, ...)
   va_list ap;
   int ret;
   va_start(ap, fmt);
-  ret = __stdio_common_vfwprintf(_CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS, 
file, fmt, NULL, ap);
+  ret = __stdio_common_vfwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, file, 
fmt, NULL, ap);
   va_end(ap);
   return ret;
 }
-- 
2.43.0



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to