]> git.sesse.net Git - vlc/commitdiff
change warning color in console
authorSébastien Escudier <sebastien-devel@celeos.eu>
Mon, 5 Jul 2010 12:50:24 +0000 (14:50 +0200)
committerSébastien Escudier <sebastien-devel@celeos.eu>
Wed, 7 Jul 2010 13:37:51 +0000 (15:37 +0200)
Use the same orange than in FFMPEG, instead of yellow.
It wasn't readable in consoles with white background.

src/misc/messages.c

index 906b489cb6e66eeea7022ad140fd049dd4799b1c..b2f5c98b1f0610439c126017e25ce37092066c7e 100644 (file)
@@ -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" };