diff options
Diffstat (limited to 'src/file_search.c')
-rw-r--r-- | src/file_search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_search.c b/src/file_search.c index d5cc280c05..d435149a33 100644 --- a/src/file_search.c +++ b/src/file_search.c @@ -1123,7 +1123,7 @@ static int ff_wc_equal(char_u *s1, char_u *s2) int c1 = PTR2CHAR(s1 + i); int c2 = PTR2CHAR(s2 + i); - if ((p_fic ? MB_TOLOWER(c1) != MB_TOLOWER(c2) : c1 != c2) + if ((p_fic ? vim_tolower(c1) != vim_tolower(c2) : c1 != c2) && (prev1 != '*' || prev2 != '*')) return FAIL; prev2 = prev1; |