From 18dfa7d5f3fd35efda5432190014c070b4925c7d Mon Sep 17 00:00:00 2001
From: Mark Moriarty <markfm@videolan.org>
Date: Fri, 15 Feb 2008 22:52:36 +0000
Subject: [PATCH] Remove color control codes froom vlc-help.txt on Win32

---
 src/libvlc-common.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/libvlc-common.c b/src/libvlc-common.c
index a0785a78d023..752750a313c0 100644
--- a/src/libvlc-common.c
+++ b/src/libvlc-common.c
@@ -1317,6 +1317,9 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
     psz_spaces_text[PADDING_SPACES+LINE_START] = '\0';
     memset( psz_spaces_longtext, ' ', LINE_START+2 );
     psz_spaces_longtext[LINE_START+2] = '\0';
+#ifdef WIN32
+    b_color = VLC_FALSE; // don't put color control codes in a .txt file
+#endif
 
     if( b_color )
     {
-- 
GitLab