diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2014-05-14 12:54:49 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2014-05-14 12:54:49 +0200 |
commit | 89f93872d8e024c761cc55335518f7d48d414fdb (patch) | |
tree | b4cb8d700bb6fc18b98ff44222bcc3dfd0cabd5d /src/rcclocale.c | |
parent | bac37baabe92c3f7473b2a91ec76b82271d04206 (diff) | |
download | librcc-89f93872d8e024c761cc55335518f7d48d414fdb.tar.gz librcc-89f93872d8e024c761cc55335518f7d48d414fdb.tar.bz2 librcc-89f93872d8e024c761cc55335518f7d48d414fdb.tar.xz librcc-89f93872d8e024c761cc55335518f7d48d414fdb.zip |
Fix handling of locale aliases
Diffstat (limited to 'src/rcclocale.c')
-rw-r--r-- | src/rcclocale.c | 2 |
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; } |