1
0
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:
Timo Sirainen 2001-03-15 02:31:36 +00:00 committed by cras
parent 87777968c3
commit dcb652bc4d

View File

@ -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 */