Commit 2b6038e0 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Fix service discovery loading code char.

parent 08f5c9de
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment