Code

Only display the "change color" error message if we need init_color()
[ncmpc.git] / src / colors.c
index 2a1c04c030c6a9380b768ea224f7456e946291ce..692f01ecd0493350d69545b79e9ec79d82b06598 100644 (file)
@@ -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 )