From: Sébastien Escudier Date: Mon, 5 Jul 2010 12:50:24 +0000 (+0200) Subject: change warning color in console X-Git-Tag: 1.2.0-pre1~5932 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=2dee046f6a5dfaa323be036da7e3631d8096ccef;p=vlc change warning color in console Use the same orange than in FFMPEG, instead of yellow. It wasn't readable in consoles with white background. --- diff --git a/src/misc/messages.c b/src/misc/messages.c index 906b489cb6..b2f5c98b1f 100644 --- a/src/misc/messages.c +++ b/src/misc/messages.c @@ -455,11 +455,11 @@ void msg_GenericVa (vlc_object_t *p_this, int i_type, *****************************************************************************/ static void PrintMsg ( vlc_object_t * p_this, msg_item_t * p_item ) { -# define COL(x) "\033[" #x ";1m" -# define RED COL(31) -# define GREEN COL(32) -# define YELLOW COL(33) -# define WHITE COL(0) +# define COL(x,y) "\033[" #x ";" #y "m" +# define RED COL(31,1) +# define GREEN COL(32,1) +# define YELLOW COL(0,33) +# define WHITE COL(0,1) # define GRAY "\033[0m" static const char ppsz_type[4][9] = { "", " error", " warning", " debug" };