diff options
author | Thomas Voss <mail@thomasvoss.com> | 2022-10-04 10:51:12 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2022-10-04 10:51:12 +0200 |
commit | 6fb30c950953f10e757d1964a8ec0e38dd71f034 (patch) | |
tree | f88ec4a9d673b170c375726d3a71484e662f456e /center.c | |
parent | ba2f3b5d6277ae6aa0c5ff104c5048a71d06458f (diff) |
Remove excess parens
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); |