changeset 7705:844246b6c3bf

last flip bug fixed
author pontscho
date Thu, 10 Oct 2002 12:47:33 +0000
parents b2b2560ed1f2
children 90044efe01ee
files Gui/mplayer/gtk/opts.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/gtk/opts.c	Thu Oct 10 12:00:04 2002 +0000
+++ b/Gui/mplayer/gtk/opts.c	Thu Oct 10 12:47:33 2002 +0000
@@ -431,7 +431,8 @@
 	if ( gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( CBFramedrop ) ) == TRUE ) frame_dropping=1;
 	if ( gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( CBHFramedrop ) ) == TRUE ) frame_dropping=2;
 
-	flip=gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( CBFlip ) );
+	flip=-1;
+	if ( gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( CBFlip ) ) ) flip=1;
 	
 	// -- 3. page
 	gtkSet( gtkSetSubAuto,!gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( CBNoAutoSub ) ),NULL );