Permalink
Browse files

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.
  • Loading branch information...
brammool committed Jul 20, 2018
1 parent 0a6efcd commit 66ab916935585391b2efaa8e39075e1ef94717b1
Showing with 3 additions and 0 deletions.
  1. +1 −0 src/evalfunc.c
  2. +2 −0 src/version.c
@@ -11639,6 +11639,7 @@ f_spellbadword(typval_T *argvars UNUSED, typval_T *rettv)
break;
}
str += len;
capcol -= len;
}
}
}
@@ -789,6 +789,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
199,
/**/
198,
/**/

0 comments on commit 66ab916

Please sign in to comment.