diff options
author | Thomas Voss <mail@thomasvoss.com> | 2022-11-10 14:34:36 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2022-11-10 14:34:36 +0100 |
commit | 21ce4aad217872570c0f0a5a0a4e28f4bcdcf387 (patch) | |
tree | bb37250c32211deae0df73e3c707d3c22f30cbe7 | |
parent | ef5fcf36e9a852669c6db43352cac5d841ae210d (diff) |
Centering was off by 1, lolv1.2.0
-rw-r--r-- | center.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -287,7 +287,7 @@ cnttabs(const char *s) void println(const char *s, size_t len) { - for (int i = (width - len) / 2; i >= 0; i--) + for (int i = (width - len) / 2 - 1; i >= 0; i--) putchar(' '); if (rflag) { |