diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-07-04 04:14:58 +0000 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-07-04 04:14:58 +0000 |
commit | a21deef1c62467b21500f94dfb2ab3d58e69cb85 (patch) | |
tree | 742d2c1e2592fbcb580ebce9fac7f4f867e6218b /src/lngconfig.c | |
parent | 97e76f4c979d7a0c4ed296c512c3024e3c6afa18 (diff) | |
download | librcc-a21deef1c62467b21500f94dfb2ab3d58e69cb85.tar.gz librcc-a21deef1c62467b21500f94dfb2ab3d58e69cb85.tar.bz2 librcc-a21deef1c62467b21500f94dfb2ab3d58e69cb85.tar.xz librcc-a21deef1c62467b21500f94dfb2ab3d58e69cb85.zip |
04.07.2005
Diffstat (limited to 'src/lngconfig.c')
-rw-r--r-- | src/lngconfig.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lngconfig.c b/src/lngconfig.c index 5de0fae..ad87189 100644 --- a/src/lngconfig.c +++ b/src/lngconfig.c @@ -134,7 +134,7 @@ rcc_language_config rccGetConfig(rcc_context ctx, rcc_language_id language_id) { language_id = rccGetRealLanguage(ctx, language_id); if (language_id < 0) return NULL; if (!ctx->configs[language_id].charset) { - if (rccInitConfig(ctx->configs+language_id, ctx)) return NULL; + if (rccConfigInit(ctx->configs+language_id, ctx)) return NULL; } ctx->configs[language_id].language = ctx->languages[language_id]; @@ -343,6 +343,8 @@ rcc_charset_id rccConfigGetLocaleCharset(rcc_language_config config, const char } /* + rcc_option_value options[RCC_MAX_OPTIONS]; + int rccConfigInit(rcc_language_config config, rcc_context ctx) { for (i=0;i<RCC_MAX_OPTIONS;i++) config->options[i] = 0; |