hedgewars/uGears.pas
changeset 10105 8c5fa1d15bd5
parent 10078 8572d1f8b2f0
child 10108 c68cf030eded
--- a/hedgewars/uGears.pas	Tue Feb 04 15:23:37 2014 +0100
+++ b/hedgewars/uGears.pas	Tue Feb 04 16:35:31 2014 +0100
@@ -331,7 +331,7 @@
                     if i = 1 then
                         AddCaption(trmsg[sidRoundSD], cWhiteColor, capgrpGameState)
                     else if (i = 2) or ((i > 0) and ((i mod 50 = 0) or ((i <= 25) and (i mod 5 = 0)))) then
-                        AddCaption(Format(trmsg[sidRoundsSD], s), cWhiteColor, capgrpGameState);
+                        AddCaption(FormatPChar(trmsg[sidRoundsSD], Str2PChar(s)), cWhiteColor, capgrpGameState);
                     end;
                 end;
             if bBetweenTurns