# HG changeset patch # User Zerotorescue # Date 1293125585 -3600 # Node ID 7ca83ad9d67a2a4aa009d1c059b5e5c6c5be42e7 # Parent e999870eb1da6c908d444380df5f9072cbbb08a5 Color coding for item quantities in the summary now defaults to white when none of the selected colors in the config fall within range. diff -r e999870eb1da -r 7ca83ad9d67a Summary.lua --- a/Summary.lua Thu Dec 23 14:06:57 2010 +0100 +++ b/Summary.lua Thu Dec 23 18:33:05 2010 +0100 @@ -565,6 +565,8 @@ return printf("|cffff9933%d|r", num); elseif percentage >= addon.db.profile.defaults.colors.red then return printf("|cffff0000%d|r", num); + else + return num; end end