diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-03-28 12:43:57 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-03-28 12:45:07 +0200 |
| commit | 8452189397544cd2fa50c8dfafe024b429a9188c (patch) | |
| tree | 4ce92c0ebdc9f23d7515f11548d5cb9c3e663cb9 /vis.c | |
| parent | f577616bcefac9480eef5f995bbc589b946e5c6b (diff) | |
| download | vis-8452189397544cd2fa50c8dfafe024b429a9188c.tar.gz vis-8452189397544cd2fa50c8dfafe024b429a9188c.tar.xz | |
vis: cleanup usage of vis_cursors_count
Diffstat (limited to 'vis.c')
| -rw-r--r-- | vis.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]); |
