summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2008-11-29 19:11:40 +0000
committervimboss <devnull@localhost>2008-11-29 19:11:40 +0000
commit8bd8e2ad48c51ee92482646209f7b90326c87c2b (patch)
treeddb2ba898b068e6896b83abe933c6c7f08c855c3
parent198c8d1ed3c0b9c22c0e9edeb3ce8371cc61c8a2 (diff)
downloadvim-7.2.056.tar.gz
updated for version 7.2-056v7.2.056v7-2-056
-rw-r--r--src/spell.c3
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/spell.c b/src/spell.c
index 4807fff9..058f7d68 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -8112,7 +8112,8 @@ write_vim_spell(spin, fname)
p = rr == 1 ? ftp->ft_from : ftp->ft_to;
l = (int)STRLEN(p);
putc(l, fd);
- fwv &= fwrite(p, l, (size_t)1, fd);
+ if (l > 0)
+ fwv &= fwrite(p, l, (size_t)1, fd);
}
}
diff --git a/src/version.c b/src/version.c
index 8b6c0210..bba1c7c6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -677,6 +677,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 56,
+/**/
55,
/**/
54,