summaryrefslogtreecommitdiffstats
path: root/Gui/app.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-07 15:06:02 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-07 15:06:02 +0000
commitd7bb353d156114e8aa57f10860cd476a7c326c94 (patch)
tree063442f86777f3e3442f7e392826006b6b50c93f /Gui/app.c
parentc84999a9050a62cacea524503249b95de9990719 (diff)
downloadmpv-d7bb353d156114e8aa57f10860cd476a7c326c94.tar.bz2
mpv-d7bb353d156114e8aa57f10860cd476a7c326c94.tar.xz
PlayToPause bug with mouse fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4980 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/app.c')
-rw-r--r--Gui/app.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/Gui/app.c b/Gui/app.c
index c3535f2fc1..4eb0b371d3 100644
--- a/Gui/app.c
+++ b/Gui/app.c
@@ -11,6 +11,7 @@
#include "wm/wskeys.h"
#include "skin/skin.h"
#include "mplayer/mplayer.h"
+#include "interface.h"
listItems appMPlayer;
@@ -27,12 +28,12 @@ void appClearItem( wItem * item )
item->px=0; item->py=0; item->psx=0; item->psy=0;
// ---
item->msg=0; item->msg2=0;
- item->pressed=0;
+ item->pressed=btnReleased;
item->tmp=0;
item->key=0; item->key2=0;
item->Bitmap.Width=0; item->Bitmap.Height=0; item->Bitmap.BPP=0; item->Bitmap.ImageSize=0;
- if ( item->Bitmap.Image )
- { free( item->Bitmap.Image ); item->Bitmap.Image=NULL; }
+ if ( item->Bitmap.Image ) free( item->Bitmap.Image );
+ item->Bitmap.Image=NULL;
// ---
item->fontid=0;
if ( item->label ) free( item->label ); item->label=NULL;