From 43be5378b680b999e12cc107ea0c22868c968306 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 30 Nov 2012 20:12:46 +0000 Subject: [PATCH] ensure restart always occurs after language change SVN revision: 79947 --- src/modules/conf_intl/e_int_config_intl.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/modules/conf_intl/e_int_config_intl.c b/src/modules/conf_intl/e_int_config_intl.c index 033f62af3..d9d52f4e1 100644 --- a/src/modules/conf_intl/e_int_config_intl.c +++ b/src/modules/conf_intl/e_int_config_intl.c @@ -941,7 +941,11 @@ _lc_check(void) if (getenv("LC_MESSAGES")) strcat(buf2, "
LC_MESSAGES"); if (getenv("LC_ALL")) strcat(buf2, "
LC_ALL"); - if (!buf2[0]) return; + if (!buf2[0]) + { + _lc_check_del(NULL); + return; + } snprintf(buf, sizeof(buf), _("You have some extra locale environment
" "variables set that may interfere with
"