diff Summary.lua @ 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 fee06221176f
children 6216b754350d
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