Skip to content

Commit f56c825

Browse files
committed
statusbar: always respect alternative ui separator color
1 parent cb93743 commit f56c825

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
ncmpcpp-0.7.2 (2016-01-16)
22
* Attempt to add non-song item to playlist from search engine doesn't trigger assertion failure anymore.
33
* Fetching lyrics from metrolyrics.com was fixed.
4+
* Alternative UI separator color is now respected regardless of the header_visibility flag.
45

56
ncmpcpp-0.7.1 (2016-01-01)
67
* Selected songs in media library can now be added to playlists.

src/status.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ void Status::Changes::flags()
726726
*wHeader << NC::XY(COLS-switch_state.length(), 1) << NC::Format::Bold << Config.state_flags_color << switch_state << NC::Color::End << NC::Format::NoBold;
727727
if (!Config.header_visibility) // in this case also draw separator
728728
{
729-
*wHeader << NC::Format::Bold << NC::Color::Black;
729+
*wHeader << NC::Format::Bold << Config.alternative_ui_separator_color;
730730
mvwhline(wHeader->raw(), 2, 0, 0, COLS);
731731
*wHeader << NC::Color::End << NC::Format::NoBold;
732732
}

0 commit comments

Comments
 (0)