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:
parent
00dfa1bd04
commit
a83eea9b44
|
@ -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);
|
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
|
else
|
||||||
{
|
{
|
||||||
UNICODE_STRING str;
|
UNICODE_STRING str;
|
||||||
|
|
Loading…
Reference in New Issue