summaryrefslogtreecommitdiffstats
path: root/Header.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2021-01-28 16:17:40 +0100
committerBenBE <BenBE@geshi.org>2021-02-02 11:07:29 +0100
commitb6122564865526300125ebefad49f9649c687d27 (patch)
tree7b0a0d9b06def84f321f9bb9219b789b21d392c7 /Header.c
parentba630e8ad5db8066a999c564aa9ac17058595d00 (diff)
Leave less right margin next to long (text) meters
Diffstat (limited to 'Header.c')
-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) {

© 2014-2024 Faster IT GmbH | imprint | privacy policy