[vlc-devel] commit: ncurses: object_id is gone. (Pierre d'Herbemont )

git version control git at videolan.org
Sat Sep 20 20:59:10 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Sep 20 21:01:46 2008 +0200| [a3fc39d8957f119ab1270e8f2896ed41f06577a3] | committer: Pierre d'Herbemont 

ncurses: object_id is gone.

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

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

diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index 3ea7a9f..9d1ef94 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -1493,12 +1493,12 @@ 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 )
-        MainBoxWrite( p_intf, (*l)++, 1 + 2 * i_level, "%s \"%s\" (%d)",
+        MainBoxWrite( p_intf, (*l)++, 1 + 2 * i_level, "%s \"%s\" (%p)",
                 p_obj->psz_object_type, p_obj->psz_object_name,
-                p_obj->i_object_id );
+                p_obj );
     else
-        MainBoxWrite( p_intf, (*l)++, 1 + 2 * i_level, "%s (%d)",
-                p_obj->psz_object_type, p_obj->i_object_id );
+        MainBoxWrite( p_intf, (*l)++, 1 + 2 * i_level, "%s (%o)",
+                p_obj->psz_object_type, p_obj );
 
     vlc_list_t *list = vlc_list_children( p_obj );
     for( int i = 0; i < list->i_count ; i++ )




More information about the vlc-devel mailing list