summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-10 17:51:46 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-10 17:51:46 +0200
commit893eaab41fdfc2c7adc1d3ee23b41a86d335c515 (patch)
tree00325dcf0f354f681e6171529fea22b5b574fc55 /src/normal.c
parent622925875cb9d7f04a764ed8e002e45c3a141e94 (diff)
downloadvim-893eaab41fdfc2c7adc1d3ee23b41a86d335c515.zip
Make joining a range of lines much faster. (Milan Vancura)
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/normal.c b/src/normal.c
index efcdb7992..3321b3ff8 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -1908,7 +1908,7 @@ do_pending_operator(cap, old_col, gui_yank)
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);
}
}
}