Commit b58cd975 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

kernel32: Mac lang. pref. overrides LANG, but not LC_ALL or LC_MESSAGES.

parent 21acb71e
......@@ -2971,7 +2971,7 @@ void LOCALE_Init(void)
#ifdef __APPLE__
/* Override lcid_LC_MESSAGES with user_language if LC_MESSAGES is set to default */
if (lcid_LC_MESSAGES == lcid_LC_CTYPE && user_language_string_ref)
if (user_language_string_ref && !getenv("LC_ALL") && !getenv("LC_MESSAGES"))
{
struct locale_name locale_name;
WCHAR buffer[128];
......
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