changeset 10107 | dd6541ba745e |
parent 10106 | 4020864e3d79 |
child 10108 | c68cf030eded |
--- a/hedgewars/uRenderUtils.pas Tue Feb 04 17:18:05 2014 +0100 +++ b/hedgewars/uRenderUtils.pas Tue Feb 04 17:24:32 2014 +0100 @@ -283,7 +283,7 @@ var w, h: LongInt; finalSurface: PSDL_Surface; begin - if s[0] = #0 then s:= Str2PChar(''); // conversion because pas2c ain't smart enough yet; + if s[0] = #0 then s:= Str2PChar(' '); // conversion because pas2c ain't smart enough yet; font:= CheckCJKFont(s, font); w:= 0; h:= 0; // avoid compiler hints TTF_SizeUTF8(Fontz[font].Handle, s, @w, @h);