From a9c3e2c343dd1077fa08371a505ad766dcb81baa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 12 Jun 2017 18:12:41 +0200 Subject: view: rename view_cursors_primary_{get,set} --- vis.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vis.c') diff --git a/vis.c b/vis.c index 58ca997..9044ab0 100644 --- a/vis.c +++ b/vis.c @@ -316,7 +316,7 @@ static void window_draw_cursorline(Win *win) { int width = view_width_get(view); CellStyle style = win->ui->style_get(win->ui, UI_STYLE_CURSOR_LINE); - Cursor *cursor = view_cursors_primary_get(view); + Cursor *cursor = view_selections_primary_get(view); size_t lineno = view_cursors_line_get(cursor)->lineno; for (Line *l = view_lines_first(view); l; l = l->next) { if (l->lineno == lineno) { @@ -399,7 +399,7 @@ static void window_draw_cursors(Win *win) { View *view = win->view; Filerange viewport = view_viewport_get(view); bool multiple_cursors = view_cursors_count(view) > 1; - Cursor *cursor = view_cursors_primary_get(view); + Cursor *cursor = view_selections_primary_get(view); 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); -- cgit v1.2.3