diff options
Diffstat (limited to 'Game/Code/Screens/UScreenMain.pas')
-rw-r--r-- | Game/Code/Screens/UScreenMain.pas | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Game/Code/Screens/UScreenMain.pas b/Game/Code/Screens/UScreenMain.pas index 2d13ac09..108f811c 100644 --- a/Game/Code/Screens/UScreenMain.pas +++ b/Game/Code/Screens/UScreenMain.pas @@ -56,8 +56,7 @@ uses function TScreenMain.ParseInput(PressedKey: Cardinal; CharCode: WideChar; PressedDown: Boolean): Boolean; var -I: Integer; -SDL_ModState: Word; + SDL_ModState: Word; begin Result := true; @@ -74,7 +73,7 @@ begin If (PressedDown) Then begin // Key Down // check normal keys - case WideUpperCase(CharCode)[1] of + case WideCharUpperCase(CharCode)[1] of 'Q': begin Result := false; |