Commit 2dee046f authored by Sébastien Escudier's avatar Sébastien Escudier

change warning color in console

Use the same orange than in FFMPEG, instead of yellow.
It wasn't readable in consoles with white background.
parent b7608665
...@@ -455,11 +455,11 @@ void msg_GenericVa (vlc_object_t *p_this, int i_type, ...@@ -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 ) static void PrintMsg ( vlc_object_t * p_this, msg_item_t * p_item )
{ {
# define COL(x) "\033[" #x ";1m" # define COL(x,y) "\033[" #x ";" #y "m"
# define RED COL(31) # define RED COL(31,1)
# define GREEN COL(32) # define GREEN COL(32,1)
# define YELLOW COL(33) # define YELLOW COL(0,33)
# define WHITE COL(0) # define WHITE COL(0,1)
# define GRAY "\033[0m" # define GRAY "\033[0m"
static const char ppsz_type[4][9] = { "", " error", " warning", " debug" }; static const char ppsz_type[4][9] = { "", " error", " warning", " debug" };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment