diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-07-12 03:55:23 +0000 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-07-12 03:55:23 +0000 |
commit | e598a2372179812389a702b78d5f8537eb6827d9 (patch) | |
tree | fad90d39ca5781d5ffdf4e9131050fe79d3e5383 /src/lngconfig.c | |
parent | 6b44784148735f594ac862abcd38c50c5d556df0 (diff) | |
download | librcc-e598a2372179812389a702b78d5f8537eb6827d9.tar.gz librcc-e598a2372179812389a702b78d5f8537eb6827d9.tar.bz2 librcc-e598a2372179812389a702b78d5f8537eb6827d9.tar.xz librcc-e598a2372179812389a702b78d5f8537eb6827d9.zip |
Language and Option Names
Diffstat (limited to 'src/lngconfig.c')
-rw-r--r-- | src/lngconfig.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lngconfig.c b/src/lngconfig.c index 39fca76..4ac16c1 100644 --- a/src/lngconfig.c +++ b/src/lngconfig.c @@ -311,6 +311,11 @@ rcc_charset_id rccConfigGetCurrentCharset(rcc_language_config config, rcc_class_ charset_id = rccConfigGetLocaleCharset(config, defvalue); if ((charset_id != 0)&&(charset_id != (rcc_charset_id)-1)) return charset_id; + if (cl->defvalue) { + charset_id = rccConfigGetCharsetByName(config, defvalue); + if ((charset_id != 0)&&(charset_id != (rcc_charset_id)-1)) return charset_id; + } + defcharset = cl->defcharset; if (defcharset) { lang = config->language->sn; |