Quantcast

CPU line doesn't need a < 0 test

Scott Sibley [08-19-10 - 10:19]
CPU line doesn't need a < 0 test
Filename
Modules/Text.lua
diff --git a/Modules/Text.lua b/Modules/Text.lua
index 6da8650..eba4628 100644
--- a/Modules/Text.lua
+++ b/Modules/Text.lua
@@ -371,8 +371,6 @@ if type(self.cpuperc) == "number" then
     local c = new()
     if self.cpuperc > 50 then
         c.r, c.g, c.b = 1, 0, 0
-    elseif self.cpuperc < 0 then
-        c.r, c.g, c.b = 0, 0, 1
     else
         c.r, c.g, c.b = 0, 1, 0
     end