summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rcclocale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcclocale.c b/src/rcclocale.c
index a7148c2..2d26077 100644
--- a/src/rcclocale.c
+++ b/src/rcclocale.c
@@ -90,7 +90,7 @@ int rccLocaleGetLanguage(char *result, const char *lv, unsigned int n) {
for (j=0;rcc_default_aliases[j].alias;j++)
if (strncmp(l,rcc_default_aliases[j].alias,i)==0) {
- l = rcc_default_aliases[j].alias;
+ l = rcc_default_aliases[j].lang;
break;
}