summaryrefslogtreecommitdiffstats
path: root/Gui/skin/skin.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-28 15:55:02 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-28 15:55:02 +0000
commitbce2755a134ecc39e5abac49e144f427e911d001 (patch)
tree3a59fd25f1b02a1903a309ed46c64be94ec00e12 /Gui/skin/skin.c
parentc5c913ad170d5c98ac4eb01a913a9ee0e2a25cda (diff)
downloadmpv-bce2755a134ecc39e5abac49e144f427e911d001.tar.bz2
mpv-bce2755a134ecc39e5abac49e144f427e911d001.tar.xz
fix hprogressbar
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1730 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/skin/skin.c')
-rw-r--r--Gui/skin/skin.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Gui/skin/skin.c b/Gui/skin/skin.c
index 68ca4e3d3d..5cf64471ad 100644
--- a/Gui/skin/skin.c
+++ b/Gui/skin/skin.c
@@ -1,4 +1,4 @@
-
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -682,6 +682,7 @@ void btnModify( int event,float state )
for ( j=0;j<appMPlayer.NumberOfItems + 1;j++ )
if ( appMPlayer.Items[j].msg == event )
{
+ if ( appMPlayer.Items[j].used ) continue;
switch ( appMPlayer.Items[j].type )
{
case itButton:
@@ -697,7 +698,7 @@ void btnModify( int event,float state )
}
}
-int btnGetValue( int event )
+float btnGetValue( int event )
{
int j;
for ( j=0;j<appMPlayer.NumberOfItems + 1;j++ )