From f56c825b36d81ca3d49c140f90f7c2ac8f9ce94e Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Sat, 16 Jan 2016 10:39:20 +0100 Subject: [PATCH] statusbar: always respect alternative ui separator color --- NEWS | 1 + src/status.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 6ba95873..eaa23fda 100644 --- a/NEWS +++ b/NEWS @@ -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. diff --git a/src/status.cpp b/src/status.cpp index d242340c..54c68efa 100644 --- a/src/status.cpp +++ b/src/status.cpp @@ -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; }