# HG changeset patch # User Bram Moolenaar # Date 1375543888 -7200 # Node ID 3ddec3d25bd178d4f90114bce9ce889f3889e6d2 # Parent 3f7268b0d2ebb6ed27bfbad3fc10bfc8c5eb39a6 updated for version 7.4b.014 Problem: Stupid mistake. Solution: Changle "len" to "i". diff --git a/src/misc1.c b/src/misc1.c --- 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 --- 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,