diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-11-14 13:39:14 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2021-11-14 17:08:50 +0100 |
commit | 1450a6f7534147e3d7252594cf06e2a1cc14b79b (patch) | |
tree | 1971f1f0f146e16cc8d0f52c97e6b9a0c21f27c6 /src/nvim/spellfile.c | |
parent | 54ff21a15303e1c7dbfde4895c3444daad6df16a (diff) | |
download | rneovim-1450a6f7534147e3d7252594cf06e2a1cc14b79b.tar.gz rneovim-1450a6f7534147e3d7252594cf06e2a1cc14b79b.tar.bz2 rneovim-1450a6f7534147e3d7252594cf06e2a1cc14b79b.zip |
refactor(macroman): get rid of MB_COPY_CHAR macro
clean up docs for MB_PTR_ADV and MB_PTR_BACK
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 7e8c24b1bf..0fc9012f27 100644 --- a/src/nvim/spellfile.c +++ b/src/nvim/spellfile.c @@ -3501,7 +3501,7 @@ static int store_aff_word(spellinfo_T *spin, char_u *word, char_u *afflist, afff if (ae->ae_chop != NULL) { // Remove chop string. p = newword + STRLEN(newword); - i = (int)mb_charlen(ae->ae_chop); + i = mb_charlen(ae->ae_chop); for (; i > 0; i--) { MB_PTR_BACK(newword, p); } |