changeset 3407 | dcc129c4352e |
parent 3390 | 1d4926d10a9e |
child 3539 | c3d1fccbe0ed |
--- a/hedgewars/uChat.pas Sun May 02 20:30:23 2010 +0000 +++ b/hedgewars/uChat.pas Sun May 02 22:00:50 2010 +0000 @@ -85,6 +85,7 @@ end; font:= CheckCJKFont(str, fnt16); +w:= 0; h:= 0; // avoid compiler hints TTF_SizeUTF8(Fontz[font].Handle, Str2PChar(str), w, h); resSurface:= SDL_CreateRGBSurface(0, toPowerOf2(w), toPowerOf2(h), 32, RMask, GMask, BMask, AMask);