From a91e705dfd9b7358bf24e02312dfb06ab3e6848d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 12 Jun 2017 18:26:59 +0200 Subject: view: rename view_cursors_count --- sam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sam.c') diff --git a/sam.c b/sam.c index bd29a92..0824df4 100644 --- a/sam.c +++ b/sam.c @@ -1437,11 +1437,11 @@ 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_count(view) > 1; + bool multiple_cursors = view_selections_count(view) > 1; Cursor *primary = view_selections_primary_get(view); if (vis->mode->visual) - count_init(cmd->cmd, view_cursors_count(view)+1); + count_init(cmd->cmd, view_selections_count(view)+1); for (Cursor *c = view_cursors(view), *next; c && ret; c = next) { next = view_selections_next(c); -- cgit v1.2.3