From 2b472cece9f60b6f3e610ea8a7fc36173557fe0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 12 Jun 2017 18:19:14 +0200 Subject: view: rename view_cursors_selection_start --- vis-modes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vis-modes.c') diff --git a/vis-modes.c b/vis-modes.c index 470c155..87a61a7 100644 --- a/vis-modes.c +++ b/vis-modes.c @@ -186,14 +186,14 @@ static void vis_mode_operator_input(Vis *vis, const char *str, size_t len) { static void vis_mode_visual_enter(Vis *vis, Mode *old) { if (!old->visual) { for (Cursor *c = view_cursors(vis->win->view); c; c = view_cursors_next(c)) - view_cursors_selection_start(c); + view_selections_anchor(c); } } static void vis_mode_visual_line_enter(Vis *vis, Mode *old) { if (!old->visual) { for (Cursor *c = view_cursors(vis->win->view); c; c = view_cursors_next(c)) - view_cursors_selection_start(c); + view_selections_anchor(c); } if (!vis->action.op) vis_motion(vis, VIS_MOVE_NOP); -- cgit v1.2.3