aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-09-05 14:45:42 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-09-05 14:45:42 +0000
commitaddda3536d0d82714e826994b3a10c6b468c3252 (patch)
tree5005e94e762226274966ccaae4a0367fc59f93ba /Game/Code
parentd63f6913483a56b2e9ee288a6eb90c957274fa1f (diff)
downloadusdx-addda3536d0d82714e826994b3a10c6b468c3252.tar.gz
usdx-addda3536d0d82714e826994b3a10c6b468c3252.tar.xz
usdx-addda3536d0d82714e826994b3a10c6b468c3252.zip
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
Diffstat (limited to 'Game/Code')
-rw-r--r--Game/Code/Screens/UScreenEditSub.pas3
-rw-r--r--Game/Code/Screens/UScreenTop5.pas2
2 files changed, 2 insertions, 3 deletions
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