summaryrefslogtreecommitdiffstats
path: root/src/lngconfig.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-19 22:25:43 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-19 22:25:43 +0000
commit2cdfde517e53ae2c7c3393a505e1f127e714fc59 (patch)
tree85a0ee488bcfa68a5a773293677670c3a382bf94 /src/lngconfig.c
parent055bdab4f515b1e93155fccbe03fac43a007aa0e (diff)
downloadlibrcc-2cdfde517e53ae2c7c3393a505e1f127e714fc59.tar.gz
librcc-2cdfde517e53ae2c7c3393a505e1f127e714fc59.tar.bz2
librcc-2cdfde517e53ae2c7c3393a505e1f127e714fc59.tar.xz
librcc-2cdfde517e53ae2c7c3393a505e1f127e714fc59.zip
Fixes
- Fixed several errors in doxygen documentation - Initializing locale in rcclocale (if setlocale return 'C') - Calling Configure before anything else in rccRecode
Diffstat (limited to 'src/lngconfig.c')
-rw-r--r--src/lngconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lngconfig.c b/src/lngconfig.c
index 5ffdd75..efb2c1a 100644
--- a/src/lngconfig.c
+++ b/src/lngconfig.c
@@ -229,7 +229,7 @@ rcc_language_config rccGetConfig(rcc_context ctx, rcc_language_id language_id) {
language_id = rccGetRealLanguage(ctx, language_id);
if (language_id == (rcc_language_id)-1) return NULL;
if (!strcasecmp(ctx->languages[language_id]->sn, "off")) return NULL;
-
+
if (!ctx->configs[language_id].charset) {
if (rccConfigInit(ctx->configs+language_id, ctx)) return NULL;
}