From fad788d3f02564486039886b1de1cbf976776ac3 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 12 Jul 2005 15:56:03 +0000 Subject: Language/Charset autodetection fixes --- src/librcc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/librcc.c') diff --git a/src/librcc.c b/src/librcc.c index 2e2a49e..34e0e3d 100644 --- a/src/librcc.c +++ b/src/librcc.c @@ -164,6 +164,7 @@ rcc_context rccCreateContext(const char *locale_variable, unsigned int max_langu } ctx->current_language = 0; + ctx->default_language = 0; if (locale_variable) { if (strlen(locale_variable)>=RCC_MAX_VARIABLE_CHARS) { -- cgit v1.2.3