aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-06-14 23:26:28 +0000
committerKalle Wallin <kaw@linux.se>2004-06-14 23:26:28 +0000
commit9b652942c81ffb8603cbdf01178d410b7ae1b0c7 (patch)
tree5fc88aae0804ef522d28f22bb5ebb9c4f17a4eae /src
parent2c27ae895f99a3b925d37ae91725c400b85aac76 (diff)
downloadmpd-9b652942c81ffb8603cbdf01178d410b7ae1b0c7.tar.gz
mpd-9b652942c81ffb8603cbdf01178d410b7ae1b0c7.tar.xz
mpd-9b652942c81ffb8603cbdf01178d410b7ae1b0c7.zip
Only display the "change color" error message if we need init_color()
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1493 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/colors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/colors.c b/src/colors.c
index 2a1c04c03..692f01ecd 100644
--- a/src/colors.c
+++ b/src/colors.c
@@ -263,7 +263,7 @@ colors_start(void)
list=list->next;
}
}
- else if( !can_change_color() )
+ else if( color_definition_list && !can_change_color() )
fprintf(stderr, _("Terminal lacks support for changing colors!\n"));
if( options.enable_colors )