Module: wine Branch: master Commit: a83eea9b44f8c6a8658101189e339169facefe7c URL: https://source.winehq.org/git/wine.git/?a=commit;h=a83eea9b44f8c6a8658101189...
Author: Francois Gouget fgouget@codeweavers.com Date: Wed Mar 23 16:54:22 2022 +0100
ntdll: Return the UI language id in uppercase.
This fixes a failure in kernel32:locale.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/ntdll/locale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/locale.c b/dlls/ntdll/locale.c index 74c395cbd85..b6cf2ec0739 100644 --- a/dlls/ntdll/locale.c +++ b/dlls/ntdll/locale.c @@ -627,7 +627,7 @@ static NTSTATUS get_dummy_preferred_ui_language( DWORD flags, LANGID lang, ULONG
FIXME("(0x%x %p %p %p) returning a dummy value (current locale)\n", flags, count, buffer, size);
- if (flags & MUI_LANGUAGE_ID) swprintf( name, ARRAY_SIZE(name), L"%04lx", lang ); + if (flags & MUI_LANGUAGE_ID) swprintf( name, ARRAY_SIZE(name), L"%04lX", lang ); else { UNICODE_STRING str;