commit | 2eb25daffd66cc323c039b624af8f4630f2fbf8f | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Mar 16 21:43:34 2006 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Mar 16 21:43:34 2006 +0000 |
tree | 8aed8c70bbad657d17b3447893892454831f34ee | |
parent | efd2bf158afeb2337dcb5a62c6198d6d2fb7cd5f [diff] [blame] |
updated for version 7.0226
diff --git a/src/ops.c b/src/ops.c index 82a7595..fce995f 100644 --- a/src/ops.c +++ b/src/ops.c
@@ -3733,6 +3733,9 @@ /* If the cursor is past the end of the line put it at the end. */ if (gchar_cursor() == NUL && curwin->w_cursor.col > 0 +#ifdef FEAT_VIRTUALEDIT + && (ve_flags & VE_ONEMORE) == 0 +#endif && !(restart_edit || (State & INSERT))) { /* Put the cursor on the last character in the line. */