1
0
forked from aniani/vim

updated for version 7.1-076

This commit is contained in:
Bram Moolenaar
2007-08-14 20:54:49 +00:00
parent 3185918f8c
commit b0db569905
3 changed files with 6 additions and 2 deletions

View File

@@ -4493,7 +4493,8 @@ separate_nextcmd(eap)
if (eap->argt & (USECTRLV | XFILE)) if (eap->argt & (USECTRLV | XFILE))
++p; /* skip CTRL-V and next char */ ++p; /* skip CTRL-V and next char */
else else
STRCPY(p, p + 1); /* remove CTRL-V and skip next char */ /* remove CTRL-V and skip next char */
mch_memmove(p, p + 1, STRLEN(p));
if (*p == NUL) /* stop at NUL after CTRL-V */ if (*p == NUL) /* stop at NUL after CTRL-V */
break; break;
} }

View File

@@ -3760,7 +3760,8 @@ add_to_showcmd(c)
extra_len = (int)STRLEN(p); extra_len = (int)STRLEN(p);
overflow = old_len + extra_len - SHOWCMD_COLS; overflow = old_len + extra_len - SHOWCMD_COLS;
if (overflow > 0) if (overflow > 0)
STRCPY(showcmd_buf, showcmd_buf + overflow); mch_memmove(showcmd_buf, showcmd_buf + overflow,
old_len - overflow + 1);
STRCAT(showcmd_buf, p); STRCAT(showcmd_buf, p);
if (char_avail()) if (char_avail())

View File

@@ -666,6 +666,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 */
/**/
76,
/**/ /**/
75, 75,
/**/ /**/