diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-11-14 17:43:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-14 17:43:21 +0100 |
commit | 2f37ffb71920d0b50f658108736a1465e1e5f280 (patch) | |
tree | 1971f1f0f146e16cc8d0f52c97e6b9a0c21f27c6 /src/nvim/file_search.c | |
parent | ede00b29d175625479060c5c52e256ec6fc445c1 (diff) | |
parent | 1450a6f7534147e3d7252594cf06e2a1cc14b79b (diff) | |
download | rneovim-2f37ffb71920d0b50f658108736a1465e1e5f280.tar.gz rneovim-2f37ffb71920d0b50f658108736a1465e1e5f280.tar.bz2 rneovim-2f37ffb71920d0b50f658108736a1465e1e5f280.zip |
Merge pull request #16316 from bfredl/macroman
refactor(macros): delete multibyte macros which just are aliases
Diffstat (limited to 'src/nvim/file_search.c')
-rw-r--r-- | src/nvim/file_search.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/file_search.c b/src/nvim/file_search.c index 9b0caa8da0..36257fefb3 100644 --- a/src/nvim/file_search.c +++ b/src/nvim/file_search.c @@ -1113,8 +1113,8 @@ static bool ff_wc_equal(char_u *s1, char_u *s2) } for (i = 0, j = 0; s1[i] != NUL && s2[j] != NUL;) { - c1 = PTR2CHAR(s1 + i); - c2 = PTR2CHAR(s2 + j); + c1 = utf_ptr2char(s1 + i); + c2 = utf_ptr2char(s2 + j); if ((p_fic ? mb_tolower(c1) != mb_tolower(c2) : c1 != c2) && (prev1 != '*' || prev2 != '*')) { |