hedgewars/uChat.pas
changeset 11476 c4e1d39acc56
parent 11372 208bc571f949
child 11696 fa4bc078e509
--- a/hedgewars/uChat.pas	Thu Dec 31 16:26:21 2015 +0300
+++ b/hedgewars/uChat.pas	Thu Dec 31 10:17:15 2015 -0500
@@ -196,7 +196,7 @@
 // create and blit text
 strSurface:= TTF_RenderUTF8_Blended(Fontz[font].Handle, Str2PChar(str), cl.color);
 //SDL_UpperBlit(strSurface, nil, resSurface, @dstrect);
-if strSurface <> nil then copyTOXY(strSurface, resSurface, Padding, Padding);
+if strSurface <> nil then copyToXY(strSurface, resSurface, Padding, Padding);
 SDL_FreeSurface(strSurface);
 
 cl.Tex:= Surface2Tex(resSurface, false);