Commit 97d613b2 authored by Antoine Cellerier's avatar Antoine Cellerier

Use \033[0;1m instead of \033[37;1m for bold text using the default color...

Use \033[0;1m instead of \033[37;1m for bold text using the default color (prevent using bold white text on terms with a white background).
parent 351b9cf0
...@@ -1279,7 +1279,7 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name ) ...@@ -1279,7 +1279,7 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
# define BLUE COL(34) # define BLUE COL(34)
# define MAGENTA COL(35) # define MAGENTA COL(35)
# define CYAN COL(36) # define CYAN COL(36)
# define WHITE COL(37) # define WHITE COL(0)
# define GRAY "\033[0m" # define GRAY "\033[0m"
#define COLOR_FORMAT_STRING (WHITE" %s --%s"YELLOW"%s%s%s%s%s%s "GRAY) #define COLOR_FORMAT_STRING (WHITE" %s --%s"YELLOW"%s%s%s%s%s%s "GRAY)
#define COLOR_FORMAT_STRING_BOOL (WHITE" %s --%s%s%s%s%s%s%s "GRAY) #define COLOR_FORMAT_STRING_BOOL (WHITE" %s --%s%s%s%s%s%s%s "GRAY)
......
...@@ -563,7 +563,7 @@ static void PrintMsg ( vlc_object_t * p_this, msg_item_t * p_item ) ...@@ -563,7 +563,7 @@ static void PrintMsg ( vlc_object_t * p_this, msg_item_t * p_item )
# define RED COL(31) # define RED COL(31)
# define GREEN COL(32) # define GREEN COL(32)
# define YELLOW COL(33) # define YELLOW COL(33)
# define WHITE COL(37) # define WHITE COL(0)
# define GRAY "\033[0m" # define GRAY "\033[0m"
#ifdef UNDER_CE #ifdef UNDER_CE
......
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