--- 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;