diff options
| author | Randy Palamar <randy@rnpnr.xyz> | 2025-12-13 09:38:53 -0700 |
|---|---|---|
| committer | Randy Palamar <randy@rnpnr.xyz> | 2025-12-22 09:13:47 -0700 |
| commit | dd29e2f4321bea25c53af5def7a23fe57640de50 (patch) | |
| tree | e551785b024639f560ff4709c94fe8704e06bd4d /vis-operators.c | |
| parent | 569b61137cf45521d9fd4f693cf841be485dd4b8 (diff) | |
| download | vis-dd29e2f4321bea25c53af5def7a23fe57640de50.tar.gz vis-dd29e2f4321bea25c53af5def7a23fe57640de50.tar.xz | |
silence new gcc warnings
Diffstat (limited to 'vis-operators.c')
| -rw-r--r-- | vis-operators.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
