commit | b0db5699058946fa9ae6638a3b6c1fb039e8bd1f | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Aug 14 20:54:49 2007 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Aug 14 20:54:49 2007 +0000 |
tree | b1007c941f14428128a5d69c6cef5ed812a1fb0e | |
parent | 3185918f8cd281d0af9bd154198491c9744ba4d8 [diff] [blame] |
updated for version 7.1-076
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index f12f12e..5e63791 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c
@@ -4493,7 +4493,8 @@ 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; }