hedgewars/uIO.pas
changeset 13877 8c702a4839ec
parent 13832 10a3b80130b5
child 14463 bd1db668b7c0
--- a/hedgewars/uIO.pas	Tue Oct 09 09:02:39 2018 -0400
+++ b/hedgewars/uIO.pas	Tue Oct 09 09:58:33 2018 -0400
@@ -195,7 +195,7 @@
                 msg:= msg + s[i];
                 inc(i)
                 end;
-             s:= 'b' + Format(trmsg[sidChatTeam], nick, msg);
+             s:= 'b' + Format(shortstring(trmsg[sidChatTeam]), nick, msg);
              if (nick = '') or (msg = '') then
                  isProcessed:= false
              else