kernel32: For LOCALE_NOUSEROVERRIDE, check locale against the appropriate default lcid.
This commit is contained in:
parent
82218fcf20
commit
9967d82146
|
@ -1194,7 +1194,8 @@ INT WINAPI GetLocaleInfoW( LCID lcid, LCTYPE lctype, LPWSTR buffer, INT len )
|
|||
|
||||
/* first check for overrides in the registry */
|
||||
|
||||
if (!(lcflags & LOCALE_NOUSEROVERRIDE) && lcid == GetUserDefaultLCID())
|
||||
if (!(lcflags & LOCALE_NOUSEROVERRIDE) &&
|
||||
lcid == convert_default_lcid( LOCALE_USER_DEFAULT, lctype ))
|
||||
{
|
||||
const WCHAR *value = get_locale_value_name(lctype);
|
||||
|
||||
|
|
Loading…
Reference in New Issue