mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 23:06:14 +00:00
mbyte: replace vim_tolower with mb_tolower handling locale correctly
This commit is contained in:
@@ -1057,7 +1057,7 @@ static bool ff_wc_equal(char_u *s1, char_u *s2)
|
||||
c1 = PTR2CHAR(s1 + i);
|
||||
c2 = PTR2CHAR(s2 + j);
|
||||
|
||||
if ((p_fic ? vim_tolower(c1) != vim_tolower(c2) : c1 != c2)
|
||||
if ((p_fic ? mb_tolower(c1) != mb_tolower(c2) : c1 != c2)
|
||||
&& (prev1 != '*' || prev2 != '*')) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user