summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-04-27 00:02:13 +0000
committerBram Moolenaar <Bram@vim.org>2006-04-27 00:02:13 +0000
commitf193fffd16563cfbe7c02a21e19c8bb11707581d (patch)
tree4bae3092421aa986103b8000b1012989a9ea49e6 /src/normal.c
parent551dbcc9b604c2992f908fb475e797fcc116315b (diff)
downloadvim-f193fffd16563cfbe7c02a21e19c8bb11707581d.zip
updated for version 7.0f02
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/normal.c b/src/normal.c
index 651257451..966bb3219 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -3209,9 +3209,7 @@ end_visual_mode()
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();
}
/*