changeset 15775 | 72f735c03fec |
parent 15113 | ba9d54d1c25d |
child 15874 | c4561095666a |
--- a/hedgewars/uRenderUtils.pas Thu Oct 22 12:33:35 2020 +0200 +++ b/hedgewars/uRenderUtils.pas Thu Oct 22 12:50:24 2020 +0200 @@ -115,7 +115,7 @@ finalRect.x:= X + cFontBorder + cFontPadding; finalRect.y:= Y + cFontBorder; if SDLCheck(tmpsurf <> nil, 'TTF_RenderUTF8_Blended', true) then - exit; + exit(finalRect); SDL_UpperBlit(tmpsurf, @textRect, Surface, @finalRect); SDL_FreeSurface(tmpsurf); finalRect.x:= X;