diff options
author | al3x <al3x@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-13 15:03:27 +0000 |
---|---|---|
committer | al3x <al3x@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-13 15:03:27 +0000 |
commit | 6bef8b7c5c13e6607e5d8f732dea411cc062bed6 (patch) | |
tree | 81bb301464b8467d235028efea14e93cd6cac8fd | |
parent | 9334252452e3758b795cf0b5049446ca409f2006 (diff) |
fixed my previousily added bug: ifdef buggy_sdl: keypressed: default case
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1123 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/vo_sdl.c | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c index 1617bd176a..8fe295b544 100644 --- a/libvo/vo_sdl.c +++ b/libvo/vo_sdl.c @@ -1041,19 +1041,17 @@ static void check_events (void) #ifdef BUGGY_SDL case SDL_KEYDOWN: switch(event.key.keysym.sym) { - case SDLK_UP: mplayer_put_key(KEY_UP);break; - case SDLK_DOWN: mplayer_put_key(KEY_DOWN);break; - case SDLK_LEFT: mplayer_put_key(KEY_LEFT);break; - case SDLK_RIGHT: mplayer_put_key(KEY_RIGHT);break; + case SDLK_UP: mplayer_put_key(KEY_UP); break; + case SDLK_DOWN: mplayer_put_key(KEY_DOWN); break; + case SDLK_LEFT: mplayer_put_key(KEY_LEFT); break; + case SDLK_RIGHT: mplayer_put_key(KEY_RIGHT); break; case SDLK_ASTERISK: case SDLK_KP_MULTIPLY: - case SDLK_w: mplayer_put_key('*');break; + case SDLK_w: mplayer_put_key('*'); break; case SDLK_SLASH: case SDLK_KP_DIVIDE: - case SDLK_s: mplayer_put_key('/');break; - default: - mplayer_put_key(keypressed); - break; + case SDLK_s: mplayer_put_key('/'); break; + default: break; } break; case SDL_KEYUP: @@ -1238,6 +1236,5 @@ uninit(void) XCloseDisplay(XDisplay); } #endif -sdl_close(); + sdl_close(); } - |