aboutsummaryrefslogtreecommitdiffstats
path: root/src/screens/UScreenOptionsSound.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens/UScreenOptionsSound.pas')
-rw-r--r--src/screens/UScreenOptionsSound.pas16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/screens/UScreenOptionsSound.pas b/src/screens/UScreenOptionsSound.pas
index 80210f63..99ecb599 100644
--- a/src/screens/UScreenOptionsSound.pas
+++ b/src/screens/UScreenOptionsSound.pas
@@ -34,7 +34,13 @@ interface
{$I switches.inc}
uses
- UMenu, SDL, UDisplay, UMusic, UFiles, UIni, UThemes;
+ UMenu,
+ SDL,
+ UDisplay,
+ UMusic,
+ UFiles,
+ UIni,
+ UThemes;
type
TScreenOptionsSound = class(TMenu)
@@ -47,19 +53,21 @@ type
implementation
-uses UGraphic, SysUtils;
+uses
+ UGraphic,
+ SysUtils;
function TScreenOptionsSound.ParseInput(PressedKey: cardinal;
CharCode: widechar; PressedDown: boolean): boolean;
begin
- Result := True;
+ Result := true;
if (PressedDown) then
begin // Key Down
// check normal keys
case WideCharUpperCase(CharCode)[1] of
'Q':
begin
- Result := False;
+ Result := false;
Exit;
end;
end;