Try to fix charsetalias recognition

This commit is contained in:
Stas Degteff 2007-10-29 22:24:53 +00:00
parent e1ffb097c6
commit f436139f03

View File

@ -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<std::string, gstrarray> >::iterator als;