- more minor cleanups before tagging a new release version

This commit is contained in:
Parnic
2009-04-19 00:49:33 +00:00
parent 9a8d5317c9
commit 0a0a816701
9 changed files with 13 additions and 13 deletions

View File

@ -294,7 +294,7 @@ function TargetCC.prototype:UpdateTargetDebuffs(unit, isUpdate)
self:Show(true)
if (duration ~= nil and duration > 0) then
self:UpdateBar(duration > 0 and remaining / duration or 0, "CC:" .. self.debuffList[name])
self:UpdateBar(duration ~= 0 and remaining / duration or 0, "CC:" .. self.debuffList[name])
self:SetBottomText2(floor(remaining * 10) / 10)
else
self:UpdateBar(0, "CC:" .. self.debuffList[name])