aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vis.c b/vis.c
index 988f53f..4ececaa 100644
--- a/vis.c
+++ b/vis.c
@@ -432,7 +432,7 @@ void action_do(Vis *vis, Action *a) {
int count = MAX(a->count, 1);
bool repeatable = a->op && !vis->macro_operator;
- bool multiple_cursors = view_cursors_count(view) > 1;
+ bool multiple_cursors = view_cursors_multiple(view);
bool linewise = !(a->type & CHARWISE) && (
a->type & LINEWISE || (a->movement && a->movement->type & LINEWISE) ||
vis->mode == &vis_modes[VIS_MODE_VISUAL_LINE]);