mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.4b.014
Problem: Stupid mistake. Solution: Changle "len" to "i".
This commit is contained in:
parent
48483dbaf7
commit
f40f4ab8df
@ -10890,8 +10890,8 @@ get_cmd_output(cmd, infile, flags)
|
|||||||
{
|
{
|
||||||
/* Change NUL into SOH, otherwise the string is truncated. */
|
/* Change NUL into SOH, otherwise the string is truncated. */
|
||||||
for (i = 0; i < len; ++i)
|
for (i = 0; i < len; ++i)
|
||||||
if (buffer[len] == NUL)
|
if (buffer[i] == NUL)
|
||||||
buffer[len] = 1;
|
buffer[i] = 1;
|
||||||
|
|
||||||
buffer[len] = NUL; /* make sure the buffer is terminated */
|
buffer[len] = NUL; /* make sure the buffer is terminated */
|
||||||
}
|
}
|
||||||
|
@ -727,6 +727,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
14,
|
||||||
/**/
|
/**/
|
||||||
13,
|
13,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user