summaryrefslogtreecommitdiffstats
path: root/src/lng.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-14 08:45:46 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-14 08:45:46 +0000
commitf15620c372b8813a87d07eee169cf2096c99c173 (patch)
treef1c59f41d4a9c9f5f45595695327b0e4a74b1408 /src/lng.c
parent7233ff9095194b38586ce438379f08691a0fecdd (diff)
downloadlibrcc-f15620c372b8813a87d07eee169cf2096c99c173.tar.gz
librcc-f15620c372b8813a87d07eee169cf2096c99c173.tar.bz2
librcc-f15620c372b8813a87d07eee169cf2096c99c173.tar.xz
librcc-f15620c372b8813a87d07eee169cf2096c99c173.zip
IConv and DB4
Diffstat (limited to 'src/lng.c')
-rw-r--r--src/lng.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lng.c b/src/lng.c
index 8625fb8..3f02895 100644
--- a/src/lng.c
+++ b/src/lng.c
@@ -44,21 +44,17 @@ static rcc_language_id rccGetDefaultLanguage(rcc_context ctx) {
rcc_language_config config;
char stmp[RCC_MAX_LANGUAGE_CHARS+1];
- printf("DL: %lu\n", ctx->default_language);
if (ctx->default_language) return ctx->default_language;
if (!rccLocaleGetLanguage(stmp, ctx->locale_variable, RCC_MAX_LANGUAGE_CHARS)) {
for (i=0;ctx->languages[i];i++) {
if (!strcmp(ctx->languages[i]->sn, stmp)) {
- clo = rccGetOption(ctx, RCC_CONFIGURED_LANGUAGES_ONLY);
- printf("CLO: %lu\n", clo);
+ clo = rccGetOption(ctx, RCC_OPTION_CONFIGURED_LANGUAGES_ONLY);
if (clo) {
config = rccCheckConfig(ctx, (rcc_language_id)i);
if ((!config)||(!config->configured)) {
if (clo == 1) {
engines = ctx->languages[i]->engines;
- printf("%p",engines[0]);
- printf("%p",engines[1]);
if ((!engines[0])||(!engines[1])) break;
} else break;
}