Mercurial > wow > itemauditor
diff Core.lua @ 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 | 53147a647e28 |
children | eb0493400ff0 |
line wrap: on
line diff
--- 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.