From 43dcc8bd54b57d9e3c520e8c77268020981f016a Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Wed, 23 Dec 2009 16:37:56 +0100 Subject: [PATCH] fix refreshing player state with classic user interface --- src/status.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/status.cpp b/src/status.cpp index f19fd0d3..1e43652f 100644 --- a/src/status.cpp +++ b/src/status.cpp @@ -364,8 +364,14 @@ void NcmpcppStatusChanged(Connection *, StatusChanges changed, void *) *wHeader << XY(0, 1) << fmtBold << player_state << fmtBoldEnd; wHeader->Refresh(); } - else if (!block_statusbar_update && Config.statusbar_visibility && player_state.empty()) - *wFooter << XY(0, 1) << wclrtoeol; + else if (!block_statusbar_update && Config.statusbar_visibility) + { + *wFooter << XY(0, 1); + if (player_state.empty()) + *wFooter << wclrtoeol; + else + *wFooter << fmtBold << player_state << fmtBoldEnd; + } } if (changed.SongID) {