e: use LANG if LC_ALL is not defined

SVN revision: 59837
This commit is contained in:
Michael BOUCHAUD 2011-05-31 09:50:56 +00:00
parent dddfbe2a86
commit 07b1816f7e
1 changed files with 1 additions and 0 deletions

View File

@ -142,6 +142,7 @@ e_intl_language_set(const char *lang)
e_util_env_set("LC_ALL", _e_intl_orig_lc_all);
if (!lang) lang = getenv("LC_ALL");
if (!lang) lang = getenv("LANG");
set_envars = 0;
}