aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
authorRandy Palamar <randy@rnpnr.xyz>2024-05-24 14:53:01 -0600
committerRandy Palamar <randy@rnpnr.xyz>2024-05-24 14:53:01 -0600
commit66c7dfeec6367eac5f7b0f9eff451a0577d8eae7 (patch)
tree9b68a5eb5a08dff90fce68e41d06fd5175569e56 /vis.c
parent4d38c3a922818159b67bb7bede4b00fb592ee484 (diff)
downloadvis-66c7dfeec6367eac5f7b0f9eff451a0577d8eae7.tar.gz
vis-66c7dfeec6367eac5f7b0f9eff451a0577d8eae7.tar.xz
remove SyntaxSymbol redirection type
There is no reason why this isn't just a char *.
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}