[MPlayer-cvslog] r24842 - trunk/libvo/vo_sdl.c

diego subversion at mplayerhq.hu
Tue Oct 23 00:42:48 CEST 2007


Author: diego
Date: Tue Oct 23 00:42:47 2007
New Revision: 24842

Log:
A missing break statement caused SDLK_PLUS to be triggered twice on one press.
patch by Michael Mauch, michael.mauch gmx de
Subject: [MPlayer-dev-eng] [PATCH] Add two breaks in the key handling of vo_sdl
Date: Tue, 23 Oct 2007 00:04:20 +0200


Modified:
   trunk/libvo/vo_sdl.c

Modified: trunk/libvo/vo_sdl.c
==============================================================================
--- trunk/libvo/vo_sdl.c	(original)
+++ trunk/libvo/vo_sdl.c	Tue Oct 23 00:42:47 2007
@@ -1274,8 +1274,8 @@ static void check_events (void)
                                 /*case SDLK_o: mplayer_put_key('o');break;
                                 case SDLK_SPACE: mplayer_put_key(' ');break;
                                 case SDLK_p: mplayer_put_key('p');break;*/
-				case SDLK_7: mplayer_put_key(shift_key?'/':'7');
-                                case SDLK_PLUS: mplayer_put_key(shift_key?'*':'+');
+                                case SDLK_7: mplayer_put_key(shift_key?'/':'7');break;
+                                case SDLK_PLUS: mplayer_put_key(shift_key?'*':'+');break;
                                 case SDLK_KP_PLUS: mplayer_put_key('+');break;
                                 case SDLK_MINUS:
                                 case SDLK_KP_MINUS: mplayer_put_key('-');break;



More information about the MPlayer-cvslog mailing list