From 2b6038e0a03c8dd705c3089af691d57c3f6d764f Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Sat, 5 Jul 2008 14:22:40 +0200 Subject: [PATCH] macosx: Fix service discovery loading code char. --- modules/gui/macosx/playlist.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m index b9da5aace8..f043dad6f3 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: -- 2.39.2