Commit 85d47931 authored by Milan Crha's avatar Milan Crha

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.
parent 46172947
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment