From da6d35ef5b381aed3f9683398fd0869476d11acb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 12 Jun 2017 18:22:22 +0200 Subject: view: rename view_cursors_selection_save --- vis.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vis.c') 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); } } -- cgit v1.2.3