aboutsummaryrefslogtreecommitdiff
path: root/vis.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 /vis.c
parent2b472cece9f60b6f3e610ea8a7fc36173557fe0c (diff)
downloadvis-da6d35ef5b381aed3f9683398fd0869476d11acb.tar.gz
vis-da6d35ef5b381aed3f9683398fd0869476d11acb.tar.xz
view: rename view_cursors_selection_save
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vis.c b/vis.c
index 75cc719..665b3b9 100644
--- a/vis.c
+++ b/vis.c
@@ -252,7 +252,7 @@ void window_selection_save(Win *win) {
file->marks[VIS_MARK_SELECTION_END] = text_mark_set(file->text, sel.end);
if (!vis->action.op) {
for (Selection *s = view_cursors(win->view); s; s = view_cursors_next(s))
- view_cursors_selection_save(s);
+ view_selections_save(s);
}
}
@@ -980,7 +980,7 @@ void vis_do(Vis *vis) {
view_selections_dispose(cursor);
} else if (pos <= text_size(txt)) {
if (vis->mode->visual)
- view_cursors_selection_save(cursor);
+ view_selections_save(cursor);
view_cursors_to(cursor, pos);
}
}