diff -r 23364a5fcc86 -r eddc1e9bcd81 hedgewars/uConsole.pas --- a/hedgewars/uConsole.pas Sat Nov 26 21:12:23 2011 +0300 +++ b/hedgewars/uConsole.pas Sun Nov 27 00:25:28 2011 +0300 @@ -91,7 +91,7 @@ {$ENDIF} end; -function ShortStringAsPChar(s: ShortString) : PChar; +function ShortStringAsPChar(s: shortstring) : PChar; begin if Length(s) = High(s) then Dec(s[0]); s[Ord(Length(s))+1] := #0;