From: Kalle Wallin Date: Mon, 14 Jun 2004 23:26:28 +0000 (+0000) Subject: Only display the "change color" error message if we need init_color() X-Git-Tag: v0.12_alpha1~528 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9b652942c81ffb8603cbdf01178d410b7ae1b0c7;p=ncmpc.git 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 --- diff --git a/src/colors.c b/src/colors.c index 2a1c04c..692f01e 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 )