aboutsummaryrefslogtreecommitdiff
path: root/sam.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-06-12 17:26:22 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-06-15 15:51:42 +0200
commit318837f379d848a0ee431d25c15033a251433a33 (patch)
treec35a5f90c2e9754865a038ed63b944579769135d /sam.c
parent2fa1bea119b211b306281bc3688dee7af7889169 (diff)
downloadvis-318837f379d848a0ee431d25c15033a251433a33.tar.gz
vis-318837f379d848a0ee431d25c15033a251433a33.tar.xz
view: remove view_cursors_multiple
Diffstat (limited to 'sam.c')
-rw-r--r--sam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sam.c b/sam.c
index 815940f..1695b91 100644
--- a/sam.c
+++ b/sam.c
@@ -1437,7 +1437,7 @@ static bool cmd_select(Vis *vis, Win *win, Command *cmd, const char *argv[], Cur
bool ret = true;
View *view = win->view;
Text *txt = win->file->text;
- bool multiple_cursors = view_cursors_multiple(view);
+ bool multiple_cursors = view_cursors_count(view) > 1;
Cursor *primary = view_cursors_primary_get(view);
if (vis->mode->visual)