[evolution/gnome-3-32] Fix a copy&paste error with LC_TIME in emcu_change_locale()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-32] Fix a copy&paste error with LC_TIME in emcu_change_locale()
- Date: Mon, 1 Apr 2019 08:11:10 +0000 (UTC)
commit 291b92446f37494ace47cb369f768966a90db25e
Author: Milan Crha <mcrha redhat com>
Date: Mon Apr 1 10:09:46 2019 +0200
Fix a copy&paste error with LC_TIME in emcu_change_locale()
When changing also LC_TIME the part to be changed is LC_TIME, not LC_ALL.
src/mail/em-composer-utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/mail/em-composer-utils.c b/src/mail/em-composer-utils.c
index 3613c6de54..e15c67f2f5 100644
--- a/src/mail/em-composer-utils.c
+++ b/src/mail/em-composer-utils.c
@@ -2072,7 +2072,7 @@ emcu_change_locale (const gchar *lc_messages,
if (lc_time) {
#if defined(LC_TIME)
previous = g_strdup (setlocale (LC_TIME, NULL));
- success = setlocale (LC_ALL, lc_time) != NULL;
+ success = setlocale (LC_TIME, lc_time) != NULL;
#elif defined(LC_MESSAGES)
previous = g_strdup (setlocale (LC_ALL, NULL));
success = setlocale (LC_ALL, lc_time) != NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]