[vlc-devel] commit: ncurses: wild access to psz_object_name ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Aug 19 23:05:46 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 20 00:03:47 2009 +0300| [674d00760e56d12a6e51b070dbce027a2c05f217] | committer: Rémi Denis-Courmont 

ncurses: wild access to psz_object_name

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

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

diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index 0231710..04934d2 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -1453,11 +1453,11 @@ static void MainBoxWrite( intf_thread_t *p_intf, int l, int x, const char *p_fmt
 
 static void DumpObject( intf_thread_t *p_intf, int *l, vlc_object_t *p_obj, int i_level )
 {
-    if( p_obj->psz_object_name )
+    /*if( p_obj->psz_object_name )
         MainBoxWrite( p_intf, (*l)++, 1 + 2 * i_level, "%s \"%s\" (%p)",
                 p_obj->psz_object_type, p_obj->psz_object_name,
                 p_obj );
-    else
+    else*/
         MainBoxWrite( p_intf, (*l)++, 1 + 2 * i_level, "%s (%o)",
                 p_obj->psz_object_type, p_obj );
 




More information about the vlc-devel mailing list