diff src/normal.c @ 1797:05952d133506 v7.2.095

updated for version 7.2-095
author vimboss
date Wed, 04 Feb 2009 10:46:25 +0000
parents aeac63ad9430
children d88bdbabfbc6
line wrap: on
line diff
--- a/src/normal.c
+++ b/src/normal.c
@@ -6783,6 +6783,8 @@ nv_replace(cap)
     /* Visual mode "r" */
     if (VIsual_active)
     {
+	if (got_int)
+	    reset_VIsual();
 	nv_operator(cap);
 	return;
     }
@@ -7839,7 +7841,7 @@ nv_g_cmd(cap)
 	else
 	    i = curwin->w_leftcol;
 	/* Go to the middle of the screen line.  When 'number' is on and lines
-	 * are wrapping the middle can be more to the left.*/
+	 * are wrapping the middle can be more to the left. */
 	if (cap->nchar == 'm')
 	    i += (W_WIDTH(curwin) - curwin_col_off()
 		    + ((curwin->w_p_wrap && i > 0)