vim-patch:8.1.0199: spellbadword() does not check for caps error

Problem:    spellbadword() does not check for caps error. (Dominique Pelle)
Solution:   Adjust capcol when advancing.
66ab916935
This commit is contained in:
Jan Edmund Lazo 2019-03-24 19:42:16 -04:00
parent 25fff17d19
commit 18888c15fc

View File

@ -16763,6 +16763,7 @@ static void f_spellbadword(typval_T *argvars, typval_T *rettv, FunPtr fptr)
break; break;
} }
str += len; str += len;
capcol -= len;
} }
} }
} }