1
0
forked from aniani/vim

updated for version 7.1-034

This commit is contained in:
Bram Moolenaar
2007-07-24 08:45:13 +00:00
parent 9cffde9627
commit 5fdec47ab0
3 changed files with 9 additions and 7 deletions

View File

@@ -992,20 +992,20 @@ var_redir_str(value, value_len)
char_u *value;
int value_len;
{
size_t len;
int len;
if (redir_lval == NULL)
return;
if (value_len == -1)
len = STRLEN(value); /* Append the entire string */
len = (int)STRLEN(value); /* Append the entire string */
else
len = value_len; /* Append only "value_len" characters */
if (ga_grow(&redir_ga, (int)len) == OK)
if (ga_grow(&redir_ga, len) == OK)
{
mch_memmove((char *)redir_ga.ga_data + redir_ga.ga_len, value, len);
redir_ga.ga_len += (int)len;
redir_ga.ga_len += len;
}
else
var_redir_stop();

View File

@@ -7829,7 +7829,7 @@ put_bytes(fd, nr, len)
# if (_MSC_VER <= 1200)
/* This line is required for VC6 without the service pack. Also see the
* matching #pragma below. */
/* # pragma optimize("", off) */
# pragma optimize("", off)
# endif
#endif
@@ -7859,7 +7859,7 @@ put_sugtime(spin, fd)
#ifdef _MSC_VER
# if (_MSC_VER <= 1200)
/* # pragma optimize("", on) */
# pragma optimize("", on)
# endif
#endif

View File

@@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
34,
/**/
33,
/**/