From: Jean-Baptiste Kempf Date: Mon, 12 Nov 2007 07:50:16 +0000 (+0000) Subject: Wx: this should fix the [23027] commit for compilation. needs review. X-Git-Tag: 0.9.0-test0~4624 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=5395427fef4d5c327bec4d21188f41043ce07b70;p=vlc Wx: this should fix the [23027] commit for compilation. needs review. --- 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 ) )