From: Bram Moolenaar Date: Sat, 29 Nov 2008 19:11:40 +0000 (+0000) Subject: updated for version 7.2-056 X-Git-Tag: v7.2.056 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9bf13616521b10db3545031f7a07d140dbc7b137;p=vim updated for version 7.2-056 --- diff --git a/src/spell.c b/src/spell.c index 4807fff96..058f7d68c 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 8b6c0210a..bba1c7c6e 100644 --- a/src/version.c +++ b/src/version.c @@ -676,6 +676,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 56, /**/ 55, /**/