mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
when some statusbar item was forced to be removed because of lack of space,
it still used 2 chars. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1387 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
87777968c3
commit
dcb652bc4d
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user