[vlc-devel] commit: macosx: Fix service discovery loading code char. (Pierre d' Herbemont )

git version control git at videolan.org
Sat Jul 5 14:22:24 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Jul  5 14:22:40 2008 +0200| [2b6038e0a03c8dd705c3089af691d57c3f6d764f]

macosx: Fix service discovery loading code char.

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

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

diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index b9da5aa..f043dad 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -383,12 +383,11 @@
     for( i = 0; ppsz_services[i]; i++ )
     {
         bool  b_enabled;
-        char        *objectname;
         NSMenuItem  *o_lmi;
 
         char * name = ppsz_name[i] ? ppsz_name[i] : ppsz_services[i];
         /* Check whether to enable these menuitems */
-        b_enabled = playlist_IsServicesDiscoveryLoaded( p_playlist, objectname );
+        b_enabled = playlist_IsServicesDiscoveryLoaded( p_playlist, name );
 
         /* Create the menu entries used in the playlist menu */
         o_lmi = [[o_mi_services submenu] addItemWithTitle:




More information about the vlc-devel mailing list