[vlc-devel] commit: Don't use libvlc->b_color ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun May 4 20:38:57 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Sun May  4 21:36:09 2008 +0300| [067e6c3763b1b6755993cf7aeea52be2701d299b]

Don't use libvlc->b_color

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

 modules/gui/ncurses.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index b412f38..a3dbc23 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -255,7 +255,7 @@ static int Open( vlc_object_t *p_this )
     p_sys->i_box_plidx = 0;
     p_sys->i_box_bidx = 0;
     p_sys->p_sub = msg_Subscribe( p_intf, MSG_QUEUE_NORMAL );
-    p_sys->b_color = p_this->p_libvlc->b_color;
+    p_sys->b_color = isatty( 0 );
     p_sys->b_color_started = false;
 
 #ifndef HAVE_NCURSESW




More information about the vlc-devel mailing list