]> git.sesse.net Git - vlc/commitdiff
ncurses: wild access to psz_object_name
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 19 Aug 2009 21:03:47 +0000 (00:03 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 19 Aug 2009 21:05:31 +0000 (00:05 +0300)
modules/gui/ncurses.c

index 0231710c5edb0a277bbea4ada4dc30e88b60475c..04934d2fff772e4a48f511e72ac52952590fa18e 100644 (file)
@@ -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 );