Mercurial > mplayer.hg
changeset 9259:1a21ce1da8d8
fix idx
author | pontscho |
---|---|
date | Mon, 03 Feb 2003 22:06:07 +0000 |
parents | 8c9c431766d9 |
children | ea27d0f2d90d |
files | Gui/mplayer/gtk/opts.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Gui/mplayer/gtk/opts.c Mon Feb 03 21:32:32 2003 +0000 +++ b/Gui/mplayer/gtk/opts.c Mon Feb 03 22:06:07 2003 +0000 @@ -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;