diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-11-14 12:40:46 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2021-11-14 12:49:12 +0100 |
commit | 0039ba04b0c907a6d23a0c07ed272f38c58c9739 (patch) | |
tree | 79b2dd9535e52d819fbddf2d02f3aff0db2ccc34 /src/nvim/spellfile.c | |
parent | 9f27e6cbe70643e7b26e0b4f024fad3f75b1950c (diff) | |
download | rneovim-0039ba04b0c907a6d23a0c07ed272f38c58c9739.tar.gz rneovim-0039ba04b0c907a6d23a0c07ed272f38c58c9739.tar.bz2 rneovim-0039ba04b0c907a6d23a0c07ed272f38c58c9739.zip |
refactor(multibyte): eliminate mb_ptr2len alias for utfc_ptr2len
Diffstat (limited to 'src/nvim/spellfile.c')
-rw-r--r-- | src/nvim/spellfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/spellfile.c b/src/nvim/spellfile.c index cddf3fe855..a267164d0a 100644 --- a/src/nvim/spellfile.c +++ b/src/nvim/spellfile.c @@ -2504,7 +2504,7 @@ static afffile_T *spell_read_aff(spellinfo_T *spin, char_u *fname) // be empty or start with the same letter. if (aff_entry->ae_chop != NULL && aff_entry->ae_add != NULL - && aff_entry->ae_chop[(*mb_ptr2len)(aff_entry->ae_chop)] == + && aff_entry->ae_chop[utfc_ptr2len(aff_entry->ae_chop)] == NUL) { int c, c_up; |