changeset 15753 | 72f735c03fec |
parent 15665 | 63e2b7b2ec47 |
child 15900 | 128ace913837 |
child 15971 | cee831693af1 |
--- a/hedgewars/uStore.pas Thu Oct 22 12:33:35 2020 +0200 +++ b/hedgewars/uStore.pas Thu Oct 22 12:50:24 2020 +0200 @@ -116,7 +116,7 @@ clr.b:= Color and $FF; clr.a:= $FF; tmpsurf:= TTF_RenderUTF8_Blended(Fontz[Font].Handle, s, clr); -if tmpsurf = nil then exit; +if tmpsurf = nil then exit(finalRect); tmpsurf:= doSurfaceConversion(tmpsurf); if tmpsurf <> nil then