summaryrefslogtreecommitdiff
path: root/src/misc2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-18 21:40:56 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-18 21:40:56 +0000
commit97b2ad35425fd589c4ff816d1f1161f2f7f6a93d (patch)
treea0fed79e1bd28b00c32554c62110903d49ac9b20 /src/misc2.c
parent658b74a7360cff23939dbf5075b8e18e38c77a81 (diff)
downloadvim-git-97b2ad35425fd589c4ff816d1f1161f2f7f6a93d.tar.gz
updated for version 7.0228
Diffstat (limited to 'src/misc2.c')
-rw-r--r--src/misc2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc2.c b/src/misc2.c
index 9c84786a3..2a0d7cda9 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -157,7 +157,7 @@ coladvance2(pos, addspaces, finetune, wcol)
|| (VIsual_active && *p_sel != 'o')
#endif
#ifdef FEAT_VIRTUALEDIT
- || (ve_flags & VE_ONEMORE)
+ || ((ve_flags & VE_ONEMORE) && wcol < MAXCOL)
#endif
;
line = ml_get_curline();