]> git.sesse.net Git - vlc/commitdiff
Don't use libvlc->b_color
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 4 May 2008 18:36:09 +0000 (21:36 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 4 May 2008 18:36:09 +0000 (21:36 +0300)
modules/gui/ncurses.c

index b412f38593f7482e620721c8117726e2deaae7fe..a3dbc23ab814d7f7dcd7a2ed3a4468e205a0a9df 100644 (file)
@@ -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