aboutsummaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-05-03 11:44:22 +0000
committerKalle Wallin <kaw@linux.se>2004-05-03 11:44:22 +0000
commitb4983deb8e8efac613d4d1ec4c73235b35b5139b (patch)
tree4be814b4f081188d09fbb59d3f5486f18e47cc78 /screen.c
parent0239f0db2a0ec84a86e2aadbcd581caa6191e4e8 (diff)
downloadmpd-b4983deb8e8efac613d4d1ec4c73235b35b5139b.tar.gz
mpd-b4983deb8e8efac613d4d1ec4c73235b35b5139b.tar.xz
mpd-b4983deb8e8efac613d4d1ec4c73235b35b5139b.zip
The background color can now be assigned to 'none' (use the current color).
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@898 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/screen.c b/screen.c
index 879096650..67cbf6bc4 100644
--- a/screen.c
+++ b/screen.c
@@ -422,6 +422,7 @@ screen_init(void)
if( has_colors() )
{
start_color();
+ use_default_colors();
if( options.enable_colors )
{
init_pair(1, options.title_color, options.bg_color);
@@ -431,8 +432,6 @@ screen_init(void)
init_pair(5, options.status_color, options.bg_color);
init_pair(6, options.alert_color, options.bg_color);
}
- else
- use_default_colors();
}
else if( options.enable_colors )
{