# HG changeset patch # User unc0rr # Date 1351500681 -14400 # Node ID ff55648c73bf142e10bace6a4889bd0683f799bd # Parent e031c963c5dfb59be5515ac58c0738269a875d0a boo, koda diff -r e031c963c5df -r ff55648c73bf hedgewars/uInputHandler.pas --- a/hedgewars/uInputHandler.pas Mon Oct 29 05:12:24 2012 +0100 +++ b/hedgewars/uInputHandler.pas Mon Oct 29 12:51:21 2012 +0400 @@ -146,9 +146,9 @@ {$ELSE} // on other systems use this shortcut only if the keys are not bound to any command if tkbd[KeyNameToCode('left_ctrl')] or tkbd[KeyNameToCode('right_ctrl')] then - if ((CurrentBinds([KeyNameToCode('left_ctrl')]:= '') or - CurrentBinds([KeyNameToCode('right_ctrl')]:= '')) and - CurrentBinds([closeKeyCode]:= '') then + if ((CurrentBinds[KeyNameToCode('left_ctrl')] = '') or + (CurrentBinds[KeyNameToCode('right_ctrl')] = '')) and + (CurrentBinds[closeKeyCode] = '') then {$ENDIF} ParseCommand('forcequit', true); end;