From 89f93872d8e024c761cc55335518f7d48d414fdb Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 14 May 2014 12:54:49 +0200 Subject: Fix handling of locale aliases --- src/rcclocale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3