changeset 72:7ca83ad9d67a

Color coding for item quantities in the summary now defaults to white when none of the selected colors in the config fall within range.
author Zerotorescue
date Thu, 23 Dec 2010 18:33:05 +0100
parents e999870eb1da
children 6216b754350d
files Summary.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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