commit | cdcaa5892992d556c7469a36b719aefc220f44a6 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jul 09 18:06:49 2009 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jul 09 18:06:49 2009 +0000 |
tree | 7625616f59ead9e862f07c8f005d3fa3392b1ab9 | |
parent | 13df0fea4b79d5b3184df8c39b077ae0f6163375 [diff] [blame] |
updated for version 7.2-226
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index fabb2e7..68627a5 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c
@@ -4013,6 +4013,9 @@ break; ml_delete(eap->line1, FALSE); } + + /* make sure the cursor is not beyond the end of the file now */ + check_cursor_lnum(); deleted_lines_mark(eap->line1, (long)(eap->line2 - lnum)); /* ":append" on the line above the deleted lines. */