summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-12-03 14:49:54 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-12-03 14:49:54 +0000
commit6facaf069569a60fe960632f867a89d6d56d22cc (patch)
tree13ebe5f6ffeb731fabff5085062aab7e4358b04b /legacy
parenta94b021f17042127516ecadb7d3493ab9fd76d84 (diff)
lets ensure that efreet never returns a null lang - it falls bak to
lang being "C" :) SVN revision: 80074
Diffstat (limited to 'legacy')
-rw-r--r--legacy/efreet/src/lib/efreet.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/legacy/efreet/src/lib/efreet.c b/legacy/efreet/src/lib/efreet.c
index 9a2f187009..1a4acafb26 100644
--- a/legacy/efreet/src/lib/efreet.c
+++ b/legacy/efreet/src/lib/efreet.c
@@ -247,7 +247,10 @@ efreet_parse_locale(void)
247 if (efreet_parse_locale_setting("LC_ALL")) 247 if (efreet_parse_locale_setting("LC_ALL"))
248 return; 248 return;
249 249
250 efreet_parse_locale_setting("LC_MESSAGES"); 250 if (efreet_parse_locale_setting("LC_MESSAGES"))
251 return;
252
253 efreet_language = eina_stringshare_add("C");
251} 254}
252 255
253/** 256/**