- 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

@ -278,7 +278,7 @@ function IceCustomBar.prototype:UpdateCustomBar(unit, fromUpdate)
remaining = self.auraEndTime - now
end
self:UpdateBar(self.auraDuration > 0 and remaining / self.auraDuration or 0, "undef")
self:UpdateBar(self.auraDuration ~= 0 and remaining / self.auraDuration or 0, "undef")
else
self:UpdateBar(0, "undef")
self:Show(false)