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