Skip to content

Commit 66ab916

Browse files
committed
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.
1 parent 0a6efcd commit 66ab916

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/evalfunc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11639,6 +11639,7 @@ f_spellbadword(typval_T *argvars UNUSED, typval_T *rettv)
1163911639
break;
1164011640
}
1164111641
str += len;
11642+
capcol -= len;
1164211643
}
1164311644
}
1164411645
}

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,8 @@ static char *(features[]) =
789789

790790
static int included_patches[] =
791791
{ /* Add new patch number below this line */
792+
/**/
793+
199,
792794
/**/
793795
198,
794796
/**/

0 commit comments

Comments
 (0)