diff src/misc2.c @ 782:d20041a02ee5

updated for version 7.0228
author vimboss
date Sat, 18 Mar 2006 21:40:56 +0000
parents aaaca5077255
children b29b006d52d2
line wrap: on
line diff
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -157,7 +157,7 @@ coladvance2(pos, addspaces, finetune, wc
 		    || (VIsual_active && *p_sel != 'o')
 #endif
 #ifdef FEAT_VIRTUALEDIT
-		    || (ve_flags & VE_ONEMORE)
+		    || ((ve_flags & VE_ONEMORE) && wcol < MAXCOL)
 #endif
 		    ;
     line = ml_get_curline();