]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-056 v7.2.056
authorBram Moolenaar <Bram@vim.org>
Sat, 29 Nov 2008 19:11:40 +0000 (19:11 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 29 Nov 2008 19:11:40 +0000 (19:11 +0000)
src/spell.c
src/version.c

index 4807fff963d5e1df794cb017cacc7b7648f27373..058f7d68c4b8c81e5b63e55f23047b5f8d4419ea 100644 (file)
@@ -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);
            }
        }
 
index 8b6c0210aab39a43617543024bab1ba3a62e873e..bba1c7c6e6dc7dd077def59b6a9546cd52eba684 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    56,
 /**/
     55,
 /**/