Try to fix charsetalias recognition
This commit is contained in:
parent
e1ffb097c6
commit
f436139f03
@ -3038,7 +3038,7 @@ int LoadCharset(const char* imp, const char* exp, int query) {
|
|||||||
{
|
{
|
||||||
if (!striinc(xlt->exp, exp)) continue;
|
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);
|
if (imp_found) imp_found = CheckLevel(imp, xlt->imp, n, current_table);
|
||||||
|
|
||||||
std::vector< std::pair<std::string, gstrarray> >::iterator als;
|
std::vector< std::pair<std::string, gstrarray> >::iterator als;
|
||||||
|
Reference in New Issue
Block a user