From 5395427fef4d5c327bec4d21188f41043ce07b70 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Mon, 12 Nov 2007 07:50:16 +0000 Subject: [PATCH] Wx: this should fix the [23027] commit for compilation. needs review. --- modules/gui/wxwidgets/dialogs/playlist.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/gui/wxwidgets/dialogs/playlist.cpp b/modules/gui/wxwidgets/dialogs/playlist.cpp index d62cf9e8a3..24ad468a19 100644 --- a/modules/gui/wxwidgets/dialogs/playlist.cpp +++ b/modules/gui/wxwidgets/dialogs/playlist.cpp @@ -1410,9 +1410,11 @@ wxMenu *Playlist::SDMenu() &ppsz_longnames ); char **ppsz_name = ppsz_names, **ppsz_longname = ppsz_longnames; + int i_number = 0; + for( ; *ppsz_name; ppsz_name++, ppsz_longname++ ) { - p_sd_menu->AppendCheckItem( FirstSD_Event + i_number , + p_sd_menu->AppendCheckItem( FirstSD_Event + i_number++ , wxU( *ppsz_longname ) ); if( playlist_IsServicesDiscoveryLoaded( p_playlist, *ppsz_name ) ) -- 2.39.2