summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Header.c b/Header.c
index 290043e8..39afede0 100644
--- a/Header.c
+++ b/Header.c
@@ -156,7 +156,7 @@ void Header_draw(const Header* this) {
for (int y = 0; y < height; y++) {
mvhline(y, 0, ' ', COLS);
}
- const int width = COLS / this->nrColumns - (pad * this->nrColumns - 1) - 1;
+ const int width = COLS / this->nrColumns - pad;
int x = pad;
Header_forEachColumn(this, col) {