diff -r 2fa3bb7785ee -r 7f29a65aa1e4 hedgewars/uChat.pas --- a/hedgewars/uChat.pas Sun Feb 09 19:00:13 2014 +0100 +++ b/hedgewars/uChat.pas Mon Feb 10 00:43:03 2014 +0400 @@ -100,7 +100,7 @@ delete(str, 1, 1) end; -font:= CheckCJKFont(str, fnt16); +font:= CheckCJKFont(ansistring(str), fnt16); w:= 0; h:= 0; // avoid compiler hints TTF_SizeUTF8(Fontz[font].Handle, Str2PChar(str), @w, @h);