formatA expects ansistring params
authornemo
Fri, 05 Oct 2018 16:54:26 -0400
changeset 13871 b15ad95320fe
parent 13870 9d3ebcac7d90
child 13872 086aa3ae097f
child 13874 bd796e4d8920
formatA expects ansistring params
hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Fri Oct 05 16:53:36 2018 -0400
+++ b/hedgewars/uGears.pas	Fri Oct 05 16:54:26 2018 -0400
@@ -1221,7 +1221,7 @@
                 Gear^.Text:= text;
                 Gear^.FrameTicks:= x
                 end;
-            AddChatString(#9+FormatA(trmsg[sidChatHog], HH^.Name, text));
+            AddChatString(#9+FormatA(trmsg[sidChatHog], ansistring(HH^.Name), ansistring(text)));
             end
         end
     else if (x >= 4) then