# HG changeset patch # User Asa Ayers # Date 1282310091 25200 # Node ID 1f410255ebd81ac1b841008f393266d6755624a7 # Parent 89663c9dd7724eb580dab651a913983ce1dc0704 Ticket 31 - Fixed an error in the 'You just made a profit of ...' message diff -r 89663c9dd772 -r 1f410255ebd8 CHANGELOG.txt --- a/CHANGELOG.txt Thu Aug 19 23:28:02 2010 -0700 +++ b/CHANGELOG.txt Fri Aug 20 06:14:51 2010 -0700 @@ -1,3 +1,7 @@ +2010-08-19 Asa Ayers + +- Ticket 31 - Fixed an error in the 'You just made a profit of ...' message + 2010-08-19 Asa Ayers - Ticket 30 (related to #23) - ItemAuditor is back to counting items in the mailbox, but will subtract items purchased from the AH or COD mail from its item counts. diff -r 89663c9dd772 -r 1f410255ebd8 Core.lua --- a/Core.lua Thu Aug 19 23:28:02 2010 -0700 +++ b/Core.lua Fri Aug 20 06:14:51 2010 -0700 @@ -477,7 +477,7 @@ if abs(value) > 0 then if item.invested < 0 then if self.db.profile.messages.cost_updates then - self:Print(format("Updated price of %s from %s to %s. %sYou just made a profit of %s.", itemName, self:FormatMoney(item.invested - value), self:FormatMoney(0), GREEN, self:FormatMoney(abs(item.invested)))) + self:Print(format("Updated price of %s from %s to %s. |cFF00FF00You just made a profit of %s.", itemName, self:FormatMoney(item.invested - value), self:FormatMoney(0), self:FormatMoney(abs(item.invested)))) end self:RemoveItem(link) -- This doesn't work when you mail the only copy of an item you have to another character.