diff --git a/src/base/confusables.c b/src/base/confusables.c index 2eec7aee1..b49ddc36a 100644 --- a/src/base/confusables.c +++ b/src/base/confusables.c @@ -18,6 +18,10 @@ static int str_utf8_skeleton(int ch, const int **skeleton, int *skeleton_len) *skeleton_len = length; return 1; } + else if(ch < decomp_chars[i]) + { + break; + } } *skeleton = NULL; *skeleton_len = 1;