From 66c7dfeec6367eac5f7b0f9eff451a0577d8eae7 Mon Sep 17 00:00:00 2001 From: Randy Palamar Date: Fri, 24 May 2024 14:53:01 -0600 Subject: remove SyntaxSymbol redirection type There is no reason why this isn't just a char *. --- vis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vis.c') diff --git a/vis.c b/vis.c index 4a025f9..cbdb208 100644 --- a/vis.c +++ b/vis.c @@ -341,7 +341,7 @@ static void window_draw_eof(Win *win) { if (view->width == 0) return; for (Line *l = view->lastline->next; l; l = l->next) { - strncpy(l->cells[0].data, view_symbol_eof_get(view), sizeof(l->cells[0].data)-1); + strncpy(l->cells[0].data, view->symbols[SYNTAX_SYMBOL_EOF], sizeof(l->cells[0].data)-1); ui_window_style_set(win->ui, &l->cells[0], UI_STYLE_EOF); } } -- cgit v1.2.3