diff options
Diffstat (limited to 'center.c')
-rw-r--r-- | center.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -183,7 +183,7 @@ center_by_longest(FILE *fp) line = STAILQ_FIRST(&list_head); while (line != NULL) { int len = longest; - for (int i = ((width - len) / 2); i >= 0; i--) + for (int i = (width - len) / 2; i >= 0; i--) putchar(' '); fputs(line->buffer, stdout); |