hedgewars/uChat.pas
branchqmlfrontend
changeset 11481 caa1e84c3ac2
parent 11476 c4e1d39acc56
child 11696 fa4bc078e509
--- a/hedgewars/uChat.pas	Fri Jan 01 19:14:59 2016 +0300
+++ b/hedgewars/uChat.pas	Fri Jan 01 19:15:32 2016 +0300
@@ -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);