commit | f193fffd16563cfbe7c02a21e19c8bb11707581d | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Apr 27 00:02:13 2006 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Apr 27 00:02:13 2006 +0000 |
tree | 4bae3092421aa986103b8000b1012989a9ea49e6 | |
parent | 551dbcc9b604c2992f908fb475e797fcc116315b [diff] [blame] |
updated for version 7.0f02
diff --git a/src/normal.c b/src/normal.c index 6512574..966bb32 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -3209,9 +3209,7 @@ clear_showcmd(); #endif - /* Don't leave the cursor past the end of the line */ - if (curwin->w_cursor.col > 0 && *ml_get_cursor() == NUL) - --curwin->w_cursor.col; + adjust_cursor_eol(); } /*