diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-06-12 18:26:09 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-06-15 15:51:43 +0200 |
| commit | 88ae50f75f8606269269bbf3d8239893befdb0af (patch) | |
| tree | 6d0816f7be4bd692ff396e925992ee15769cf3c9 /main.c | |
| parent | 5b1b6403955b97cce1fd22a8f5a6f9df72399c4b (diff) | |
| download | vis-88ae50f75f8606269269bbf3d8239893befdb0af.tar.gz vis-88ae50f75f8606269269bbf3d8239893befdb0af.tar.xz | |
view: rename view_cursors_prev
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) |
