- fixed spacing of Strife's merchant's texts.

This commit is contained in:
Christoph Oelckers 2019-03-20 00:49:00 +01:00
parent cdc109fbc0
commit 9f6b8cd323
1 changed files with 2 additions and 3 deletions

View File

@ -141,10 +141,9 @@ class ConversationMenu : Menu
let ReplyText = Stringtable.Localize(reply.Reply); let ReplyText = Stringtable.Localize(reply.Reply);
if (reply.NeedsGold) if (reply.NeedsGold)
{ {
let trade = Stringtable.Localize("$TXT_TRADE"); ReplyText.AppendFormat(" %s", Stringtable.Localize("$TXT_TRADE"));
let amount = String.Format("%u", reply.PrintAmount); let amount = String.Format("%u", reply.PrintAmount);
trade.Replace("%u", amount); ReplyText.Replace("%u", amount);
ReplyText = ReplyText .. trade;
} }
let ReplyLines = SmallFont.BreakLines (ReplyText, ReplyWidth); let ReplyLines = SmallFont.BreakLines (ReplyText, ReplyWidth);