kernelbase: Set user_lcid to the user locale, not the system locale.
Fixes: fffbe3fcae
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ae9266992a
commit
351fa352f6
|
@ -1767,7 +1767,7 @@ void init_locale( HMODULE module )
|
|||
load_locale_nls();
|
||||
|
||||
NtQueryDefaultLocale( FALSE, &system_lcid );
|
||||
NtQueryDefaultLocale( FALSE, &user_lcid );
|
||||
NtQueryDefaultLocale( TRUE, &user_lcid );
|
||||
if (!(system_locale = NlsValidateLocale( &system_lcid, 0 )))
|
||||
{
|
||||
if (GetEnvironmentVariableW( L"WINELOCALE", bufferW, ARRAY_SIZE(bufferW) ))
|
||||
|
|
Loading…
Reference in New Issue