summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher P. Bills <cpbills@fauxtographer.net>2014-07-22 22:03:46 -0400
committerChristopher P. Bills <cpbills@fauxtographer.net>2014-07-22 22:03:46 -0400
commit6a5f04b26a0da59a94a6902ddcb42b730ecc1def (patch)
tree834ff021a2e9014266f2a03a91cd161878013dce
parent5ddf127f6d5e32450ce4db10d756f924cdbc946b (diff)
downloadirssi-6a5f04b26a0da59a94a6902ddcb42b730ecc1def.zip
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.
-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 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;