[vlc-devel] commit: Don't use color when listing modules on Windows (Fabio Ritrovato )

git version control git at videolan.org
Tue Dec 22 18:35:33 CET 2009


vlc | branch: master | Fabio Ritrovato <exsephiroth87 at gmail.com> | Tue Dec 22 18:34:24 2009 +0100| [df596611690f98ef6019d699072373410768b8a9] | committer: Fabio Ritrovato 

Don't use color when listing modules on Windows

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=df596611690f98ef6019d699072373410768b8a9
---

 src/libvlc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index f9e87ad..53b7747 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -1920,6 +1920,7 @@ static void ListModules( libvlc_int_t *p_this, bool b_verbose )
 
 #ifdef WIN32
     ShowConsole( true );
+    b_color = false; // don't put color control codes in a .txt file
 #endif
 
     /* List all modules */




More information about the vlc-devel mailing list