summaryrefslogtreecommitdiffstats
path: root/ui/librccui.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/librccui.c')
-rw-r--r--ui/librccui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/librccui.c b/ui/librccui.c
index 17e7281..1979899 100644
--- a/ui/librccui.c
+++ b/ui/librccui.c
@@ -219,7 +219,7 @@ int rccUiInit() {
else icnv = rccIConvOpen(ctype_charset, "UTF-8");
}
- if (!rccLocaleGetLanguage(locale, "LANGUAGE", 32)) {
+ if (!rccLocaleGetLanguage(locale, "LC_MESSAGES", 32)) {
search[0] = strdup(locale);
if (!search[0]) goto clean;
lpos = strrchr(search[0], '@');