hedgewars/uChat.pas
changeset 10116 dd27562b6f21
parent 10108 c68cf030eded
child 10127 7f29a65aa1e4
--- a/hedgewars/uChat.pas	Fri Feb 07 00:47:51 2014 +0400
+++ b/hedgewars/uChat.pas	Thu Feb 06 22:03:53 2014 +0100
@@ -100,7 +100,7 @@
     delete(str, 1, 1)
     end;
 
-font:= CheckCJKFont(Str2PChar(str), fnt16);
+font:= CheckCJKFont(str, fnt16);
 w:= 0; h:= 0; // avoid compiler hints
 TTF_SizeUTF8(Fontz[font].Handle, Str2PChar(str), @w, @h);