summaryrefslogtreecommitdiffstats
path: root/libvo/vo_sdl.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-22 22:42:47 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-22 22:42:47 +0000
commit3cb11cbe20415487d1874dcac996cef757fd41b2 (patch)
tree4ddbb4523a924becbfcc9f0177976b7d2c78e423 /libvo/vo_sdl.c
parentfc79b481ec6c6db64eccb4a383f9bbf6c9032fc3 (diff)
downloadmpv-3cb11cbe20415487d1874dcac996cef757fd41b2.tar.bz2
mpv-3cb11cbe20415487d1874dcac996cef757fd41b2.tar.xz
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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24842 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_sdl.c')
-rw-r--r--libvo/vo_sdl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c
index b6b8560ad4..54be3fb673 100644
--- a/libvo/vo_sdl.c
+++ b/libvo/vo_sdl.c
@@ -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;