summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/statusbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/statusbar.c b/src/fe-text/statusbar.c
index 4299835a..ead2b454 100644
--- a/src/fe-text/statusbar.c
+++ b/src/fe-text/statusbar.c
@@ -83,7 +83,7 @@ static void statusbar_shrink_forced(GSList *items, int size, int max_width)
if (size-rec->size > max_width) {
/* remove the whole item */
- size -= rec->size-1; /* -1 == the marginal */
+ size -= rec->size+1; /* +1 == the marginal */
rec->size = 0;
} else {
/* shrink the item */