]> git.sesse.net Git - vlc/commitdiff
Remove color control codes froom vlc-help.txt on Win32
authorMark Moriarty <markfm@videolan.org>
Fri, 15 Feb 2008 22:52:36 +0000 (22:52 +0000)
committerMark Moriarty <markfm@videolan.org>
Fri, 15 Feb 2008 22:52:36 +0000 (22:52 +0000)
src/libvlc-common.c

index a0785a78d023027fd403a7f1e837441dc9bde242..752750a313c044036c0a5dec9b5a26dfe6c86414 100644 (file)
@@ -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 )
     {