commit | f9ffd188e54a65e13cf249b7a21419083406b6be | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Nov 20 17:04:29 2007 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Nov 20 17:04:29 2007 +0000 |
tree | e8b66d4a05ee0dd573817590dee822ea3b37a7e3 | |
parent | 85a3e5c7c61c43ffda9645019b724837890a7e8a [diff] [blame] |
updated for version 7.1-159
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index ede122c..3c2690a 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c
@@ -4885,7 +4885,8 @@ ++line2; /* move the cursor to the new line, like Vi */ ++curwin->w_cursor.lnum; - STRCPY(new_start, p1 + 1); /* copy the rest */ + /* copy the rest */ + mch_memmove(new_start, p1 + 1, STRLEN(p1 + 1) + 1); p1 = new_start - 1; } }