From 9b652942c81ffb8603cbdf01178d410b7ae1b0c7 Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Mon, 14 Jun 2004 23:26:28 +0000 Subject: 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 --- src/colors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- cgit v1.2.3