[MPlayer-cvslog] r33091 - trunk/gui/mplayer/gtk/gtk_menu.c

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Mar 21 18:39:37 CET 2011


On Mon, Mar 21, 2011 at 01:46:03PM +0100, ib wrote:
> Author: ib
> Date: Mon Mar 21 13:46:03 2011
> New Revision: 33091
> 
> Log:
> Correct VCD's titles menu.
> 
> Limit menu entries to number of titles available on the VCD.
> 
> Modified:
>    trunk/gui/mplayer/gtk/gtk_menu.c
> 
> Modified: trunk/gui/mplayer/gtk/gtk_menu.c
> ==============================================================================
> --- trunk/gui/mplayer/gtk/gtk_menu.c	Mon Mar 21 13:44:17 2011	(r33090)
> +++ trunk/gui/mplayer/gtk/gtk_menu.c	Mon Mar 21 13:46:03 2011	(r33091)
> @@ -456,11 +456,11 @@ GtkWidget * create_PopUpMenu( void )
>      if ( guiIntfStruct.VCDTracks )
>       {
>        char tmp[32]; int i;
> -      for ( i=0;i < guiIntfStruct.VCDTracks;i++ )
> +      for ( i=1;i < guiIntfStruct.VCDTracks;i++ )

That seems wrong. If there are e.g. two tracks you'll add only one menu entry now?


More information about the MPlayer-cvslog mailing list