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 /vis.c | |
| parent | 5b1b6403955b97cce1fd22a8f5a6f9df72399c4b (diff) | |
| download | vis-88ae50f75f8606269269bbf3d8239893befdb0af.tar.gz vis-88ae50f75f8606269269bbf3d8239893befdb0af.tar.xz | |
view: rename view_cursors_prev
Diffstat (limited to 'vis.c')
| -rw-r--r-- | vis.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -403,7 +403,7 @@ static void window_draw_cursors(Win *win) { CellStyle style_cursor = win->ui->style_get(win->ui, UI_STYLE_CURSOR); CellStyle style_cursor_primary = win->ui->style_get(win->ui, UI_STYLE_CURSOR_PRIMARY); CellStyle style_selection = win->ui->style_get(win->ui, UI_STYLE_SELECTION); - for (Cursor *c = view_cursors_prev(cursor); c; c = view_cursors_prev(c)) { + for (Cursor *c = view_selections_prev(cursor); c; c = view_selections_prev(c)) { window_draw_selection(win->view, c, &style_selection); size_t pos = view_cursors_pos(c); if (pos < viewport.start) |
