[vlc-devel] commit: macosx: Make sure empty nodes are shown as node. (Pierre d' Herbemont )

git version control git at videolan.org
Sat Aug 2 05:13:47 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Aug  2 05:16:28 2008 +0200| [875cd3dde62952d9fd9f3ec684a87fd5ea0732c6] | committer: Pierre d'Herbemont 

macosx: Make sure empty nodes are shown as node.

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

 modules/gui/macosx/playlist.m |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index f9e6e8e..30daeb0 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -217,9 +217,9 @@
         if( p_item )
             i_return = p_item->i_children;
     }
-    vlc_object_release( p_playlist );
+    pl_Release( VLCIntf );
 
-    return (i_return > 0);
+    return (i_return >= 0);
 }
 
 /* retrieve the string values for the cells */




More information about the vlc-devel mailing list