hedgewars/uRenderUtils.pas
changeset 7069 bcf9d8e64e92
parent 7063 a0326412e96a
child 7291 ad4b6c2b09e8
child 7546 b50556f2a0e8
--- a/hedgewars/uRenderUtils.pas	Sat May 12 22:50:33 2012 +0400
+++ b/hedgewars/uRenderUtils.pas	Sat May 12 23:55:09 2012 +0400
@@ -257,7 +257,7 @@
 var w, h: LongInt;
     finalSurface: PSDL_Surface;
 begin
-    if length(s) = 0 then s:= ' ';
+    if length(s) = 0 then s:= _S' ';
     font:= CheckCJKFont(s, font);
     w:= 0; h:= 0; // avoid compiler hints
     TTF_SizeUTF8(Fontz[font].Handle, Str2PChar(s), @w, @h);