From a21deef1c62467b21500f94dfb2ab3d58e69cb85 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 4 Jul 2005 04:14:58 +0000 Subject: 04.07.2005 --- src/lng.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lng.c') diff --git a/src/lng.c b/src/lng.c index a365615..3937cd7 100644 --- a/src/lng.c +++ b/src/lng.c @@ -48,6 +48,7 @@ static rcc_language_id rccGetDefaultLanguage(rcc_context ctx) { } rcc_language_id rccGetRealLanguage(rcc_context ctx, rcc_language_id language_id) { + printf("CRL: %i\n", language_id); if ((!ctx)||(language_id<0)||(language_id>=ctx->n_languages)) return -1; if (language_id) return language_id; return rccGetDefaultLanguage(ctx); @@ -76,6 +77,7 @@ const char *rccGetSelectedLanguageName(rcc_context ctx) { rcc_language_id rccGetCurrentLanguage(rcc_context ctx) { if (!ctx) return -1; + printf("CL: %i\n", ctx->current_language); return rccGetRealLanguage(ctx, ctx->current_language); } -- cgit v1.2.3