aboutsummaryrefslogtreecommitdiffhomepage
path: root/Gui/skin
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/skin')
-rw-r--r--Gui/skin/skin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gui/skin/skin.c b/Gui/skin/skin.c
index 9951d9ed23..30c9cd2f6b 100644
--- a/Gui/skin/skin.c
+++ b/Gui/skin/skin.c
@@ -234,7 +234,7 @@ int cmd_button( char * in )
mp_dbg( MSGT_GPLAYER,MSGL_DBG2,"[skin] x: %d y: %d sx: %d sy: %d\n",x,y,sx,sy );
if ( ( defList->Items[ defList->NumberOfItems ].msg=appFindMessage( msg ) ) == -1 )
- { ERRORMESSAGE( MSGTR_SKIN_BITMAP_UnknownMessage,msg ); return 1; }
+ { ERRORMESSAGE( MSGTR_SKIN_BITMAP_UnknownMessage,msg ); return 0; }
defList->Items[ defList->NumberOfItems ].pressed=btnReleased;
if ( defList->Items[ defList->NumberOfItems ].msg == evPauseSwitchToPlay ) defList->Items[ defList->NumberOfItems ].pressed=btnDisabled;
defList->Items[ defList->NumberOfItems ].tmp=1;