[Mplayer-cvslog] CVS: main/Gui/mplayer/gtk opts.c,1.55,1.56

Zoltan Ponekker pontscho at mplayerhq.hu
Mon Feb 3 23:06:39 CET 2003


Update of /cvsroot/mplayer/main/Gui/mplayer/gtk
In directory mail:/var/tmp.root/cvs-serv31113

Modified Files:
	opts.c 
Log Message:
fix idx

Index: opts.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/gtk/opts.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- opts.c	1 Feb 2003 16:42:01 -0000	1.55
+++ opts.c	3 Feb 2003 22:06:07 -0000	1.56
@@ -316,7 +316,7 @@
 
 // -- 5. page
  gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBNonInterlaved ),force_ni );
- gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBIndex ),index_mode );
+ if ( index_mode == 1 ) gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBIndex ),1 );
  {
   int     i;
   GList * Items = NULL;
@@ -570,7 +570,8 @@
 
 	// -- 5. page
 	force_ni=gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( CBNonInterlaved ) );
-	index_mode=gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( CBIndex ) );
+	index_mode=-1;
+	if ( gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( CBIndex ) ) ) index_mode=1;
 
 	{
 	 int i;



More information about the MPlayer-cvslog mailing list