From f436139f0336b7f93959e88caead3af4d4bfa6dd Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Mon, 29 Oct 2007 22:24:53 +0000 Subject: [PATCH] Try to fix charsetalias recognition --- golded3/geline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golded3/geline.cpp b/golded3/geline.cpp index 678d23e..f0be266 100644 --- a/golded3/geline.cpp +++ b/golded3/geline.cpp @@ -3038,7 +3038,7 @@ int LoadCharset(const char* imp, const char* exp, int query) { { if (!striinc(xlt->exp, exp)) continue; - bool imp_found = make_bool(striinc(xlt->imp, imp)); + bool imp_found = make_bool(strnieql(xlt->imp, imp, strlen(xlt->imp))); if (imp_found) imp_found = CheckLevel(imp, xlt->imp, n, current_table); std::vector< std::pair >::iterator als;