aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-06-12 18:22:50 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-06-15 15:51:43 +0200
commit5b1b6403955b97cce1fd22a8f5a6f9df72399c4b (patch)
treef281ddf6e327146fdfd60528ce5ea34e7822d504 /view.c
parentda6d35ef5b381aed3f9683398fd0869476d11acb (diff)
downloadvis-5b1b6403955b97cce1fd22a8f5a6f9df72399c4b.tar.gz
vis-5b1b6403955b97cce1fd22a8f5a6f9df72399c4b.tar.xz
view: view_cursors_selection_restore
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 651f124..0f5a599 100644
--- a/view.c
+++ b/view.c
@@ -1239,7 +1239,7 @@ void view_selections_save(Selection *s) {
s->region.anchor = s->anchor;
}
-bool view_cursors_selection_restore(Selection *s) {
+bool view_selections_restore(Selection *s) {
Text *txt = s->view->text;
size_t pos = text_mark_get(txt, s->region.cursor);
if (pos == EPOS)