Commit 9967d821 authored by Alexandre Julliard's avatar Alexandre Julliard

kernel32: For LOCALE_NOUSEROVERRIDE, check locale against the appropriate default lcid.

parent 82218fcf
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment