forked from PsychoticNinja/irssi
Fix right aligned statusbar item redrawing
Fixes Github issue #97 https://github.com/irssi/irssi/issues/97 Fix proposed by ailin-nemui, built and tested on Debian Jessie using 0.8.15 source, tested by GeertHauwaerts as well.
This commit is contained in:
parent
5ddf127f6d
commit
6a5f04b26a
@ -355,7 +355,7 @@ void statusbar_item_redraw(SBAR_ITEM_REC *item)
|
|||||||
if (item->max_size != item->size) {
|
if (item->max_size != item->size) {
|
||||||
/* item wants a new size - we'll need to redraw
|
/* item wants a new size - we'll need to redraw
|
||||||
the statusbar to see if this is allowed */
|
the statusbar to see if this is allowed */
|
||||||
statusbar_redraw(item->bar, FALSE);
|
statusbar_redraw(item->bar, item->config->right_alignment);
|
||||||
}
|
}
|
||||||
|
|
||||||
active_win = old_active_win;
|
active_win = old_active_win;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user