[vlc-devel] commit: macosx: Fix a typo. (Fix sd listing at startup). (Pierre d' Herbemont )

git version control git at videolan.org
Sat Jul 5 19:18:17 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Jul  5 19:18:09 2008 +0200| [898c67b21302c4a822c70be130097566b36aa09c]

macosx: Fix a typo. (Fix sd listing at startup).

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

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

diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index f043dad..7ffa25e 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -387,7 +387,7 @@
 
         char * name = ppsz_name[i] ? ppsz_name[i] : ppsz_services[i];
         /* Check whether to enable these menuitems */
-        b_enabled = playlist_IsServicesDiscoveryLoaded( p_playlist, name );
+        b_enabled = playlist_IsServicesDiscoveryLoaded( p_playlist, ppsz_services[i] );
 
         /* Create the menu entries used in the playlist menu */
         o_lmi = [[o_mi_services submenu] addItemWithTitle:




More information about the vlc-devel mailing list