diff src/normal.c @ 6266:0a4efa3d2019 v7.4.467

updated for version 7.4.467
author Bram Moolenaar <bram@vim.org>
date Thu, 09 Oct 2014 13:24:43 +0200
parents e98e415ea3b8
children a6f5a4ac4d46
line wrap: on
line diff
--- a/src/normal.c
+++ b/src/normal.c
@@ -1380,6 +1380,12 @@ do_pending_operator(cap, old_col, gui_ya
     pos_T	old_cursor;
     int		empty_region_error;
     int		restart_edit_save;
+#ifdef FEAT_LINEBREAK
+    int		lbr_saved = curwin->w_p_lbr;
+
+    curwin->w_p_lbr = FALSE;	/* avoid a problem with unwanted linebreaks in
+				 * block mode */
+#endif
 
     /* The visual area is remembered for redo */
     static int	    redo_VIsual_mode = NUL; /* 'v', 'V', or Ctrl-V */
@@ -2136,6 +2142,9 @@ do_pending_operator(cap, old_col, gui_ya
 	oap->block_mode = FALSE;
 	clearop(oap);
     }
+#ifdef FEAT_LINEBREAK
+    curwin->w_p_lbr = lbr_saved;
+#endif
 }
 
 /*