hedgewars/uChat.pas
changeset 10127 7f29a65aa1e4
parent 10116 dd27562b6f21
child 10303 f726e36c3e24
--- 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);