Mercurial > wow > itemauditor
changeset 103:1f410255ebd8 release 2010-08-20
Ticket 31 - Fixed an error in the 'You just made a profit of ...' message
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Fri, 20 Aug 2010 06:14:51 -0700 |
parents | 89663c9dd772 |
children | b2c3e3004c71 |
files | CHANGELOG.txt Core.lua |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <Asa.Ayers@Gmail.com> + +- Ticket 31 - Fixed an error in the 'You just made a profit of ...' message + 2010-08-19 Asa Ayers <Asa.Ayers@Gmail.com> - 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.
--- 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.