summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/spell.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/spell.c b/src/spell.c
index e5c2f7d1f4..48a2203e3f 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -253,7 +253,7 @@ spell_check(
MAXWLEN + 1);
mi.mi_fwordlen = (int)STRLEN(mi.mi_fword);
- if (camel_case)
+ if (camel_case && mi.mi_fwordlen > 0)
// Introduce a fake word end space into the folded word.
mi.mi_fword[mi.mi_fwordlen - 1] = ' ';
diff --git a/src/version.c b/src/version.c
index 40b81d1f3a..09bf61d876 100644
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4985,
+/**/
4984,
/**/
4983,