From 88ae50f75f8606269269bbf3d8239893befdb0af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 12 Jun 2017 18:26:09 +0200 Subject: view: rename view_cursors_prev --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 72a3df3..ace4d09 100644 --- a/main.c +++ b/main.c @@ -1270,7 +1270,7 @@ static const char *cursors_new(Vis *vis, const char *keys, const Arg *arg) { Cursor *cursor_new = view_selections_new(view, newpos); if (!cursor_new) { if (arg->i == -1) - cursor_new = view_cursors_prev(cursor); + cursor_new = view_selections_prev(cursor); else if (arg->i == +1) cursor_new = view_cursors_next(cursor); } @@ -1473,7 +1473,7 @@ static const char *cursors_navigate(Vis *vis, const char *keys, const Arg *arg) if (!c) c = view_cursors(view); } else { - c = view_cursors_prev(c); + c = view_selections_prev(c); if (!c) { c = view_cursors(view); for (Cursor *n = c; n; n = view_cursors_next(n)) -- cgit v1.2.3