statusbar: always respect alternative ui separator color

This commit is contained in:
Andrzej Rybczak
2016-01-16 10:39:20 +01:00
parent cb93743827
commit f56c825b36
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@@ -1,6 +1,7 @@
ncmpcpp-0.7.2 (2016-01-16)
* Attempt to add non-song item to playlist from search engine doesn't trigger assertion failure anymore.
* Fetching lyrics from metrolyrics.com was fixed.
* Alternative UI separator color is now respected regardless of the header_visibility flag.
ncmpcpp-0.7.1 (2016-01-01)
* Selected songs in media library can now be added to playlists.

View File

@@ -726,7 +726,7 @@ void Status::Changes::flags()
*wHeader << NC::XY(COLS-switch_state.length(), 1) << NC::Format::Bold << Config.state_flags_color << switch_state << NC::Color::End << NC::Format::NoBold;
if (!Config.header_visibility) // in this case also draw separator
{
*wHeader << NC::Format::Bold << NC::Color::Black;
*wHeader << NC::Format::Bold << Config.alternative_ui_separator_color;
mvwhline(wHeader->raw(), 2, 0, 0, COLS);
*wHeader << NC::Color::End << NC::Format::NoBold;
}