if (eap->argt & (USECTRLV | XFILE))
++p; /* skip CTRL-V and next char */
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 */
break;
}
extra_len = (int)STRLEN(p);
overflow = old_len + extra_len - SHOWCMD_COLS;
if (overflow > 0)
- STRCPY(showcmd_buf, showcmd_buf + overflow);
+ mch_memmove(showcmd_buf, showcmd_buf + overflow,
+ old_len - overflow + 1);
STRCAT(showcmd_buf, p);
if (char_avail())
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 76,
/**/
75,
/**/