mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0112
This commit is contained in:
@@ -4341,6 +4341,7 @@ repl_cmdline(eap, src, srclen, repl, cmdlinep)
|
||||
*/
|
||||
i = (int)(src - *cmdlinep); /* length of part before match */
|
||||
mch_memmove(new_cmdline, *cmdlinep, (size_t)i);
|
||||
|
||||
mch_memmove(new_cmdline + i, repl, (size_t)len);
|
||||
i += len; /* remember the end of the string */
|
||||
STRCPY(new_cmdline + i, src + srclen);
|
||||
|
Reference in New Issue
Block a user