summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-03 22:06:07 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-03 22:06:07 +0000
commit084dae624a4f28e96b0aa5f904110a0c46ff409e (patch)
tree18d43a6cad343436ed4f838ab84bfc8d0627d2fc /Gui
parent9237ea9deeadb20b2ed3a5d205b05663c07e733e (diff)
downloadmpv-084dae624a4f28e96b0aa5f904110a0c46ff409e.tar.bz2
mpv-084dae624a4f28e96b0aa5f904110a0c46ff409e.tar.xz
fix idx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9260 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui')
-rw-r--r--Gui/mplayer/gtk/opts.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Gui/mplayer/gtk/opts.c b/Gui/mplayer/gtk/opts.c
index 682c888bf5..277ce4b01e 100644
--- a/Gui/mplayer/gtk/opts.c
+++ b/Gui/mplayer/gtk/opts.c
@@ -316,7 +316,7 @@ void ShowPreferences( void )
// -- 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 @@ void prButton( GtkButton * button,gpointer user_data )
// -- 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;