diff src/normal.c @ 2294:2209060c340d vim73

Make joining a range of lines much faster. (Milan Vancura)
author Bram Moolenaar <bram@vim.org>
date Sat, 10 Jul 2010 17:51:46 +0200
parents 22529abcd646
children 0a258a67051d
line wrap: on
line diff
--- a/src/normal.c
+++ b/src/normal.c
@@ -1908,7 +1908,7 @@ do_pending_operator(cap, old_col, gui_ya
 		beep_flush();
 	    else
 	    {
-		do_do_join(oap->line_count, oap->op_type == OP_JOIN);
+		(void)do_join(oap->line_count, oap->op_type == OP_JOIN, TRUE);
 		auto_format(FALSE, TRUE);
 	    }
 	    break;
@@ -9111,7 +9111,7 @@ nv_join(cap)
 	{
 	    prep_redo(cap->oap->regname, cap->count0,
 			 NUL, cap->cmdchar, NUL, NUL, cap->nchar);
-	    do_do_join(cap->count0, cap->nchar == NUL);
+	    (void)do_join(cap->count0, cap->nchar == NUL, TRUE);
 	}
     }
 }