changeset 10104 | cb0b750bd8a3 |
parent 10015 | 4feced261c68 |
child 10108 | c68cf030eded |
--- a/hedgewars/uChat.pas Tue Feb 04 14:04:24 2014 +0100 +++ b/hedgewars/uChat.pas Tue Feb 04 15:23:37 2014 +0100 @@ -100,7 +100,7 @@ delete(str, 1, 1) end; -font:= CheckCJKFont(str, fnt16); +font:= CheckCJKFont(Str2PChar(str), fnt16); w:= 0; h:= 0; // avoid compiler hints TTF_SizeUTF8(Fontz[font].Handle, Str2PChar(str), @w, @h);