Skip to content

Commit

Permalink
patch 8.1.0199: spellbadword() does not check for caps error
Browse files Browse the repository at this point in the history
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 66ab916
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/evalfunc.c
Expand Up @@ -11639,6 +11639,7 @@ f_spellbadword(typval_T *argvars UNUSED, typval_T *rettv)
break; break;
} }
str += len; str += len;
capcol -= len;
} }
} }
} }
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -789,6 +789,8 @@ static char *(features[]) =


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

0 comments on commit 66ab916

Please sign in to comment.