hedgewars/uChat.pas
branchhedgeroid
changeset 6328 d14adf1c7721
parent 6286 835392304f81
child 6379 ef4288298e57
--- a/hedgewars/uChat.pas	Sat Nov 12 15:48:55 2011 +0100
+++ b/hedgewars/uChat.pas	Sat Nov 12 17:06:49 2011 +0100
@@ -84,7 +84,7 @@
 
 font:= CheckCJKFont(str, fnt16);
 w:= 0; h:= 0; // avoid compiler hints
-TTF_SizeUTF8(Fontz[font].Handle, Str2PChar(str), w, h);
+TTF_SizeUTF8(Fontz[font].Handle, Str2PChar(str), @w, @h);
 
 resSurface:= SDL_CreateRGBSurface(0, toPowerOf2(w), toPowerOf2(h), 32, RMask, GMask, BMask, AMask);