Fix long-standing typo that may have caused bugs in Other*() conditions.
Johnny C. Lam [02-09-13 - 07:02]
Fix long-standing typo that may have caused bugs in Other*() conditions.
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@683 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/OvaleAura.lua b/OvaleAura.lua
index 2203ec6..c309c60 100644
--- a/OvaleAura.lua
+++ b/OvaleAura.lua
@@ -348,7 +348,7 @@ function OvaleAura:GetExpirationTimeOnAnyTarget(spellId, excludingTarget)
if aura then
local newEnding = aura.ending
local newStarting = aura.start
- if newStarting and (not staring or newStarting < starting) then
+ if newStarting and (not starting or newStarting < starting) then
starting = newStarting
end
if newEnding and (not ending or newEnding > ending) then
diff --git a/OvaleState.lua b/OvaleState.lua
index 5512eef..1744f0e 100644
--- a/OvaleState.lua
+++ b/OvaleState.lua
@@ -456,7 +456,7 @@ function OvaleState:GetExpirationTimeOnAnyTarget(spellId, excludingTarget)
if aura and aura.serial == self.serial then
local newEnding = aura.ending
local newStarting = aura.start
- if newStarting and (not staring or newStarting < starting) then
+ if newStarting and (not starting or newStarting < starting) then
starting = newStarting
end
if newEnding and (not ending or newEnding > ending) then