diff options
| -rw-r--r-- | sam.c | 2 | ||||
| -rw-r--r-- | view.c | 2 | ||||
| -rw-r--r-- | view.h | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -1239,7 +1239,7 @@ enum SamError sam_cmd(Vis *vis, const char *s) { view_selections_primary_set(view_cursors(vis->win->view)); bool completed = true; for (Cursor *c = view_cursors(vis->win->view); c; c = view_selections_next(c)) { - if (view_selection_anchored(c)) { + if (view_selections_anchored(c)) { completed = false; break; } @@ -1178,7 +1178,7 @@ void view_selections_flip(Cursor *s) { view_cursors_to(s, text_mark_get(s->view->text, s->cursor)); } -bool view_selection_anchored(Selection *s) { +bool view_selections_anchored(Selection *s) { return s->anchored; } @@ -215,7 +215,7 @@ void view_selections_flip(Cursor*); */ void view_selections_anchor(Cursor*); /** Check whether selection is anchored. */ -bool view_selection_anchored(Cursor*); +bool view_selections_anchored(Cursor*); /** Get position of selection cursor. */ /** * @} |
