aboutsummaryrefslogtreecommitdiff
path: root/sam.c
diff options
context:
space:
mode:
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)