summaryrefslogtreecommitdiffstats
path: root/Gui/app.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-01 16:42:02 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-01 16:42:02 +0000
commit300a1416e572db7a51902127a512b62fd08374ed (patch)
tree42cf0af2950d9f4737890c632a62448070fab775 /Gui/app.c
parentd4408eac05ace7f78c0536e37184177a400bd952 (diff)
downloadmpv-300a1416e572db7a51902127a512b62fd08374ed.tar.bz2
mpv-300a1416e572db7a51902127a512b62fd08374ed.tar.xz
- rewrite Jan Spitalnik's patch
- fix some nice 10l git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9203 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/app.c')
-rw-r--r--Gui/app.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/Gui/app.c b/Gui/app.c
index 616de1cd7b..c85e9fe0cc 100644
--- a/Gui/app.c
+++ b/Gui/app.c
@@ -210,6 +210,9 @@ void btnSet( int event,int set )
{
int j;
for ( j=0;j<appMPlayer.NumberOfItems + 1;j++ )
- if ( appMPlayer.Items[j].msg == event ) appMPlayer.Items[j].pressed=set;
+ if ( appMPlayer.Items[j].msg == event )
+ { appMPlayer.Items[j].pressed=set; appMPlayer.barItems[j].tmp=0; }
+ for ( j=0;j<appMPlayer.NumberOfBarItems + 1;j++ )
+ if ( appMPlayer.barItems[j].msg == event )
+ { appMPlayer.barItems[j].pressed=set; appMPlayer.barItems[j].tmp=0; }
}
- \ No newline at end of file