WoWInterface SVN Aloft

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /branches/cataclysm/Aloft/Aloft
    from Rev 1948 to Rev 1969
    Reverse comparison

Rev 1948 → Rev 1969

Aloft.lua
1682,6 → 1682,19
 
-----------------------------------------------------------------------------
 
-- separates the name (and realm?) components of the raw unit name from the combat log
function Aloft:ParseUnitName(rawUnitName, wantRealm)
if rawUnitName then
local loc = rawUnitName:find("-")
if loc and loc > 1 then
return rawUnitName:sub(1, loc - 1), (wantRealm and rawUnitName:sub(loc + 1)) or nil
end
end
return rawUnitName, nil
end
 
-----------------------------------------------------------------------------
 
function Aloft:AcquireLayoutFrame(aloftData)
local nameplateFrame = aloftData.nameplateFrame