diff src/edit.c @ 1877:b5c1cb6f8d56 v7.2.174

updated for version 7.2-174
author vimboss
date Fri, 15 May 2009 19:33:18 +0000
parents 932ff0c0f57b
children e8eeeff19eae
line wrap: on
line diff
--- a/src/edit.c
+++ b/src/edit.c
@@ -8991,7 +8991,10 @@ ins_right()
 	foldOpenCursor();
 #endif
     undisplay_dollar();
-    if (gchar_cursor() != NUL || virtual_active()
+    if (gchar_cursor() != NUL
+#ifdef FEAT_VIRTUALEDIT
+	    || virtual_active()
+#endif
 	    )
     {
 	start_arrow(&curwin->w_cursor);