From 2dee046f6a5dfaa323be036da7e3631d8096ccef Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Escudier?= Date: Mon, 5 Jul 2010 14:50:24 +0200 Subject: [PATCH] change warning color in console Use the same orange than in FFMPEG, instead of yellow. It wasn't readable in consoles with white background. --- src/misc/messages.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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" }; -- 2.39.2