diff -r 15487f7fed42 -r a04c30940d2d hedgewars/uChat.pas --- a/hedgewars/uChat.pas Thu Jul 04 11:58:40 2013 +0200 +++ b/hedgewars/uChat.pas Sat Jul 06 19:29:18 2013 +0200 @@ -298,7 +298,9 @@ begin FreezeEnterKey; history:= 0; +{$IFNDEF SDL2} SDL_EnableKeyRepeat(0,0); +{$ENDIF} GameState:= gsGame; ResetKbd; end; @@ -421,7 +423,9 @@ begin s:= s; // avoid compiler hint GameState:= gsChat; +{$IFNDEF SDL2} SDL_EnableKeyRepeat(200,45); +{$ENDIF} if length(s) = 0 then SetLine(InputStr, '', true) else