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.
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 2e06c20..bb32571 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -11639,6 +11639,7 @@
break;
}
str += len;
+ capcol -= len;
}
}
}
diff --git a/src/version.c b/src/version.c
index 691800c..f5996d8 100644
--- a/src/version.c
+++ b/src/version.c
@@ -790,6 +790,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 199,
+/**/
198,
/**/
197,