aboutsummaryrefslogtreecommitdiffhomepage
path: root/Gui/mplayer
diff options
context:
space:
mode:
authorGravatar rathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-15 20:39:59 +0000
committerGravatar rathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-15 20:39:59 +0000
commit386e76a5449858e812fa5714dc9d449a8b467add (patch)
tree0a637392eb27edb7cd5cdbdb6ab43ba4c5bf3508 /Gui/mplayer
parent83e5f5e72a4dcae36e9ad099a9bd8f29cd3bdab6 (diff)
Avoid gcc warnings:
'...' might be used uninitialized in this function In this case 'H', 'N', 'D', and 'F' can indeed be used unitialized, thus possibly causing all sorts of problems. Patch by Peter Breitenlohner git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17198 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer')
-rw-r--r--Gui/mplayer/gtk/menu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Gui/mplayer/gtk/menu.c b/Gui/mplayer/gtk/menu.c
index 24933a1fc9..dad04c9355 100644
--- a/Gui/mplayer/gtk/menu.c
+++ b/Gui/mplayer/gtk/menu.c
@@ -594,8 +594,6 @@ GtkWidget * create_PopUpMenu( void )
N=AddMenuCheckItem( window1, (const char*)normal_xpm, Menu,MSGTR_MENU_NormalSize" ",b1,evNormalSize );
D=AddMenuCheckItem( window1, (const char*)double_xpm, Menu,MSGTR_MENU_DoubleSize,b2,evDoubleSize );
F=AddMenuCheckItem( window1, (const char*)fs_xpm, Menu,MSGTR_MENU_FullScreen,appMPlayer.subWindow.isFullScreen,evFullScreen );
- }
-
if ( !gtkShowVideoWindow && !guiIntfStruct.Playing )
{
gtk_widget_set_sensitive( H,FALSE );
@@ -603,6 +601,7 @@ GtkWidget * create_PopUpMenu( void )
gtk_widget_set_sensitive( D,FALSE );
gtk_widget_set_sensitive( F,FALSE );
}
+ }
AddSeparator( Menu );
AddMenuItem( window1, (const char*)exit_xpm, Menu,MSGTR_MENU_Exit, evExit );