From dd29e2f4321bea25c53af5def7a23fe57640de50 Mon Sep 17 00:00:00 2001 From: Randy Palamar Date: Sat, 13 Dec 2025 09:38:53 -0700 Subject: silence new gcc warnings --- vis-operators.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vis-operators.c') diff --git a/vis-operators.c b/vis-operators.c index ae2da5a..d2b42d3 100644 --- a/vis-operators.c +++ b/vis-operators.c @@ -99,7 +99,7 @@ static size_t op_put(Vis *vis, Text *txt, OperatorContext *c) { } static size_t op_shift_right(Vis *vis, Text *txt, OperatorContext *c) { - char spaces[9] = " "; + char spaces[9] = " "; spaces[MIN(vis->win->view.tabwidth, LENGTH(spaces) - 1)] = '\0'; const char *tab = vis->win->expandtab ? spaces : "\t"; size_t tablen = strlen(tab); -- cgit v1.2.3