aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
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;
}