From 6a5f04b26a0da59a94a6902ddcb42b730ecc1def Mon Sep 17 00:00:00 2001 From: "Christopher P. Bills" Date: Tue, 22 Jul 2014 22:03:46 -0400 Subject: 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. --- src/fe-text/statusbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fe-text') diff --git a/src/fe-text/statusbar.c b/src/fe-text/statusbar.c index 5453c2d5..ef5abc55 100644 --- a/src/fe-text/statusbar.c +++ b/src/fe-text/statusbar.c @@ -355,7 +355,7 @@ void statusbar_item_redraw(SBAR_ITEM_REC *item) if (item->max_size != item->size) { /* item wants a new size - we'll need to redraw 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; -- cgit v1.2.3