aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-06-12 18:18:34 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-06-15 15:51:43 +0200
commitb8238266e4c6961fbdcc635a86809b5687db99da (patch)
tree8157d64e4e47ad4ea1a1407654861c19b8233b32 /view.c
parentd721c953a5e4ff1e456d35c82e5a65d511955561 (diff)
downloadvis-b8238266e4c6961fbdcc635a86809b5687db99da.tar.gz
vis-b8238266e4c6961fbdcc635a86809b5687db99da.tar.xz
view: rename view_cursors_selection_swap
Diffstat (limited to 'view.c')
-rw-r--r--view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/view.c b/view.c
index d003da7..f6e148e 100644
--- a/view.c
+++ b/view.c
@@ -1171,7 +1171,7 @@ void view_selection_clear(Cursor *c) {
c->view->need_update = true;
}
-void view_cursors_selection_swap(Cursor *s) {
+void view_selections_flip(Cursor *s) {
Mark temp = s->anchor;
s->anchor = s->cursor;
s->cursor = temp;