diff options
Diffstat (limited to 'vis-modes.c')
| -rw-r--r-- | vis-modes.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
