summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-08-03 17:31:28 +0200
committerBram Moolenaar <Bram@vim.org>2013-08-03 17:31:28 +0200
commitf40f4ab8df0bb52a2d5f684d961b7c932c30e5df (patch)
tree0835eacf34f5fe3d9ffca5d75a736720535a4fca
parent48483dbaf78b4e76e1d61c8c2bd14cb533e4a73b (diff)
downloadvim-git-f40f4ab8df0bb52a2d5f684d961b7c932c30e5df.tar.gz
updated for version 7.4b.014v7.4b.014
Problem: Stupid mistake. Solution: Changle "len" to "i".
-rw-r--r--src/misc1.c4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 11f456b80..fd5d1fda8 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -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 */
}
diff --git a/src/version.c b/src/version.c
index 60f7eb275..ca859f7e0 100644
--- a/src/version.c
+++ b/src/version.c
@@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 14,
+/**/
13,
/**/
12,