Do not take into account LC_CTYPE and LC_MESSAGES while detecting a

user locale.
This commit is contained in:
Dmitry Timoshkov 2004-03-09 00:41:00 +00:00 committed by Alexandre Julliard
parent af83e4cf91
commit fccd869b3e
1 changed files with 0 additions and 2 deletions

View File

@ -471,9 +471,7 @@ static LCID init_default_lcid( UINT *unix_cp )
LCID ret = 0;
if ((lang = getenv( "LC_ALL" )) ||
(lang = getenv( "LC_CTYPE" )) ||
(lang = getenv( "LANGUAGE" )) ||
(lang = getenv( "LC_MESSAGES" )) ||
(lang = getenv( "LANG" )))
{
if (!strcmp(lang,"POSIX") || !strcmp(lang,"C")) goto done;