Mercurial > mplayer.hg
diff libvo/vo_sdl.c @ 24814:1903b15e6fb7
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
author | diego |
---|---|
date | Mon, 22 Oct 2007 22:42:47 +0000 |
parents | 3b57dcfc8057 |
children | 79dadcf1e89e |
line wrap: on
line diff
--- a/libvo/vo_sdl.c Mon Oct 22 18:44:05 2007 +0000 +++ b/libvo/vo_sdl.c Mon Oct 22 22:42:47 2007 +0000 @@ -1274,8 +1274,8 @@ /*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;