projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eeab3f
)
Suggestion from Ramkumar
author
stffrdhrn
<stffrdhrn>
Sat, 3 Dec 2005 12:53:02 +0000
(12:53 +0000)
committer
stffrdhrn
<stffrdhrn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 3 Dec 2005 12:53:02 +0000
(12:53 +0000)
- Do not set LANGUAGE either
SVN revision: 18813
src/bin/e_intl.c
patch
|
blob
|
history
diff --git
a/src/bin/e_intl.c
b/src/bin/e_intl.c
index
a23b522
..
745176c
100644
(file)
--- a/
src/bin/e_intl.c
+++ b/
src/bin/e_intl.c
@@
-188,11
+188,12
@@
e_intl_language_set(const char *lang)
if (lang)
{
_e_intl_language = strdup(lang);
- e_util_env_set("LANGUAGE", _e_intl_language);
/* Only set env vars is a non NULL locale was passed */
if (set_envars)
{
/* FIXME: maybe we should set these anyway? */
+ if (getenv("LANGUAGE"))
+ e_util_env_set("LANGUAGE", _e_intl_language);
if (getenv("LANG"))
e_util_env_set("LANG", _e_intl_language);
if (getenv("LC_ALL"))