]> git.sesse.net Git - vlc/commitdiff
macosx: Fix a typo. (Fix sd listing at startup).
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 5 Jul 2008 17:18:09 +0000 (19:18 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 5 Jul 2008 17:18:23 +0000 (19:18 +0200)
modules/gui/macosx/playlist.m

index f043dad6f32b5fd69298c34868acf419c9ece500..7ffa25e9bd846b8aaa24632dbfeecbc83e02a953 100644 (file)
 
         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: