aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-06-12 18:22:22 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-06-15 15:51:43 +0200
commitda6d35ef5b381aed3f9683398fd0869476d11acb (patch)
treee0fe867c611aa3df19430d3904d99ba3a9c6818d /view.c
parent2b472cece9f60b6f3e610ea8a7fc36173557fe0c (diff)
downloadvis-da6d35ef5b381aed3f9683398fd0869476d11acb.tar.gz
vis-da6d35ef5b381aed3f9683398fd0869476d11acb.tar.xz
view: rename view_cursors_selection_save
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 9b5446d..651f124 100644
--- a/view.c
+++ b/view.c
@@ -1234,7 +1234,7 @@ void view_selections_set(Selection *s, const Filerange *r) {
view_cursors_to(s, text_mark_get(s->view->text, s->cursor));
}
-void view_cursors_selection_save(Selection *s) {
+void view_selections_save(Selection *s) {
s->region.cursor = s->cursor;
s->region.anchor = s->anchor;
}