diff --git a/nncmpp.c b/nncmpp.c index e148c2d..3e4383b 100644 --- a/nncmpp.c +++ b/nncmpp.c @@ -2356,7 +2356,7 @@ incremental_search_match (const ucs4_t *needle, size_t len, { size_t i = 0; for (; i < len && start + i < row->chars_len; i++) - if (uc_tolower(needle[i]) != uc_tolower(row->chars[start + i].c)) + if (uc_tolower (needle[i]) != uc_tolower (row->chars[start + i].c)) break; best = MAX (best, i); }