From addda3536d0d82714e826994b3a10c6b468c3252 Mon Sep 17 00:00:00 2001 From: whiteshark0 Date: Wed, 5 Sep 2007 14:45:42 +0000 Subject: Fixed two Bugs in KeyDown Handling that causes that the code could not be compiled. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@373 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/Screens/UScreenEditSub.pas | 3 +-- Game/Code/Screens/UScreenTop5.pas | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'Game/Code') diff --git a/Game/Code/Screens/UScreenEditSub.pas b/Game/Code/Screens/UScreenEditSub.pas index 1d5cc66d..948ff2cc 100644 --- a/Game/Code/Screens/UScreenEditSub.pas +++ b/Game/Code/Screens/UScreenEditSub.pas @@ -568,8 +568,7 @@ begin begin // Key Down case PressedKey of - SDLK_ESCAPE, - SDLK_BACKSPACE : + SDLK_ESCAPE: begin FadeTo(@ScreenSong); end; diff --git a/Game/Code/Screens/UScreenTop5.pas b/Game/Code/Screens/UScreenTop5.pas index 0f758db6..f9de4114 100644 --- a/Game/Code/Screens/UScreenTop5.pas +++ b/Game/Code/Screens/UScreenTop5.pas @@ -39,7 +39,7 @@ begin SDLK_ESCAPE, - SDLK_BACKSPACE : + SDLK_BACKSPACE, SDLK_RETURN: begin if (not Fadeout) then begin -- cgit v1.2.3