diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-06-12 18:26:59 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-06-15 15:51:43 +0200 |
| commit | a91e705dfd9b7358bf24e02312dfb06ab3e6848d (patch) | |
| tree | 28c25cdf44b19d56b47447be4fa1991d09424482 /sam.c | |
| parent | 9e0c192423a165e735441279e0ee6af7cb0353ef (diff) | |
| download | vis-a91e705dfd9b7358bf24e02312dfb06ab3e6848d.tar.gz vis-a91e705dfd9b7358bf24e02312dfb06ab3e6848d.tar.xz | |
view: rename view_cursors_count
Diffstat (limited to 'sam.c')
| -rw-r--r-- | sam.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |
