]> granicus.if.org Git - vim/commitdiff
updated for version 7.4b.014 v7.4b.014
authorBram Moolenaar <Bram@vim.org>
Sat, 3 Aug 2013 15:31:28 +0000 (17:31 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 3 Aug 2013 15:31:28 +0000 (17:31 +0200)
Problem:    Stupid mistake.
Solution:   Changle "len" to "i".

src/misc1.c
src/version.c

index 11f456b804ed621cdab11578225dcfb2236f36db..fd5d1fda880fc35a358449b93fb708f888a48d67 100644 (file)
@@ -10890,8 +10890,8 @@ get_cmd_output(cmd, infile, flags)
     {
        /* Change NUL into SOH, otherwise the string is truncated. */
        for (i = 0; i < len; ++i)
-           if (buffer[len] == NUL)
-               buffer[len] = 1;
+           if (buffer[i] == NUL)
+               buffer[i] = 1;
 
        buffer[len] = NUL;      /* make sure the buffer is terminated */
     }
index 60f7eb27597946ad94d32b688a2f960a99f89dba..ca859f7e06a55ac813ea6a305846a3c61b6b770c 100644 (file)
@@ -727,6 +727,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    14,
 /**/
     13,
 /**/