<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -532,8 +532,8 @@ function oUF.ColorGradient(perc, ...)
 
 	local num = select('#', ...) / 3
 
-	-- Translate divison by zeros into 1, so we don't blow select.
-	if(perc == math.huge) then perc = 1 end
+	-- Translate divison by zeros into 0, so we don't blow select.
+	if(perc == math.huge) then perc = 0 end
 	local segment, relperc = math.modf(perc*(num-1))
 	local r1, g1, b1, r2, g2, b2 = select((segment*3)+1, ...)
 </diff>
      <filename>ouf.lua</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3a123b190ba51d4da4ffddd819b22d8f48ed5908</id>
    </parent>
  </parents>
  <author>
    <name>Trond A Ekseth</name>
    <email>troeks@gmail.com</email>
  </author>
  <url>http://github.com/Zariel/ouf/commit/1dae5ec12bc7c6888d17094b3e32bc21f13960dc</url>
  <id>1dae5ec12bc7c6888d17094b3e32bc21f13960dc</id>
  <committed-date>2009-11-09T12:46:06-08:00</committed-date>
  <authored-date>2009-11-09T12:46:06-08:00</authored-date>
  <message>Uhm, yes.</message>
  <tree>22ce0634d6426c72f534269372c95dfde7e53cc8</tree>
  <committer>
    <name>Trond A Ekseth</name>
    <email>troeks@gmail.com</email>
  </committer>
</commit>
