summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-27 23:11:49 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-27 23:11:49 +0000
commitbb208729b33c8e8f8f00967fc722071c689dc873 (patch)
treece85abb8004a5ace9ddd68058e5dec37118cd88f /Gui/mplayer
parent92b1243b342543da0e0a9d6f2a2ec4920770976c (diff)
downloadmpv-bb208729b33c8e8f8f00967fc722071c689dc873.tar.bz2
mpv-bb208729b33c8e8f8f00967fc722071c689dc873.tar.xz
10l fix in item disabling (vagymi)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8301 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer')
-rw-r--r--Gui/mplayer/mw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Gui/mplayer/mw.c b/Gui/mplayer/mw.c
index 881d145995..9d0a6fb6ae 100644
--- a/Gui/mplayer/mw.c
+++ b/Gui/mplayer/mw.c
@@ -179,7 +179,7 @@ void mplMainDraw( void )
{
wItem * item;
txSample * image = NULL;
- int i;
+ int i, type;
if ( appMPlayer.mainWindow.State == wsWindowClosed ) exit_player( MSGTR_Exit_quit );
@@ -196,7 +196,6 @@ void mplMainDraw( void )
for( i=0;i < appMPlayer.NumberOfItems + 1;i++ )
{
item=&appMPlayer.Items[i];
- if ( !item->disabled )
switch( item->type )
{
case itButton: