changeset 1122:fe9ef743be91

fixed my previousily added bug: ifdef buggy_sdl: keypressed: default case
author al3x
date Wed, 13 Jun 2001 15:03:27 +0000
parents 2cd5ab1bee75
children 5b69dabe5823
files libvo/vo_sdl.c
diffstat 1 files changed, 8 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_sdl.c	Wed Jun 13 11:18:20 2001 +0000
+++ b/libvo/vo_sdl.c	Wed Jun 13 15:03:27 2001 +0000
@@ -1041,19 +1041,17 @@
 #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 @@
 		XCloseDisplay(XDisplay);
 	}
 #endif
-sdl_close();
+	sdl_close();
 }
-