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>
This commit is contained in:
Francois Gouget 2022-03-23 16:54:22 +01:00 committed by Alexandre Julliard
parent 00dfa1bd04
commit a83eea9b44
1 changed files with 1 additions and 1 deletions

View File

@ -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;