From 187fb69fb5d3ffff35f7b65e94eac131a54be714 Mon Sep 17 00:00:00 2001 From: Repooc Date: Sat, 9 Aug 2014 21:25:08 -0400 Subject: [PATCH] some taint fixes --- ElvUI_SLE/core/install.lua | 6 +++--- ElvUI_SLE/modules/characterframe/core.lua | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ElvUI_SLE/core/install.lua b/ElvUI_SLE/core/install.lua index 6667307..438e506 100644 --- a/ElvUI_SLE/core/install.lua +++ b/ElvUI_SLE/core/install.lua @@ -6,7 +6,7 @@ local SLE = E:GetModule('SLE'); local CURRENT_PAGE = 0 local MAX_PAGE = 5 -function DarthSetup() --The function to switch from classic ElvUI settings to Darth's +local function DarthSetup() --The function to switch from classic ElvUI settings to Darth's SLEInstallStepComplete.message = L["Darth's Defaults Set"] SLEInstallStepComplete:Show() if not E.db.movers then E.db.movers = {}; end @@ -758,7 +758,7 @@ function DarthSetup() --The function to switch from classic ElvUI settings to Da E:UpdateAll(true) end -function RepoocSetup() --The function to switch from classic ElvUI settings to Repooc's +local function RepoocSetup() --The function to switch from classic ElvUI settings to Repooc's SLEInstallStepComplete.message = L["Repooc's Defaults Set"] SLEInstallStepComplete:Show() if not E.db.movers then E.db.movers = {}; end @@ -1306,7 +1306,7 @@ function RepoocSetup() --The function to switch from classic ElvUI settings to R E:UpdateAll(true) end -function AffinitiiSetup() --The function to switch from class ElvUI settings to Affinitii's +local function AffinitiiSetup() --The function to switch from class ElvUI settings to Affinitii's SLEInstallStepComplete.message = L["Affinitii's Defaults Set"] SLEInstallStepComplete:Show() if not E.db.movers then E.db.movers = {}; end diff --git a/ElvUI_SLE/modules/characterframe/core.lua b/ElvUI_SLE/modules/characterframe/core.lua index e71dae7..7070d70 100644 --- a/ElvUI_SLE/modules/characterframe/core.lua +++ b/ElvUI_SLE/modules/characterframe/core.lua @@ -247,7 +247,7 @@ SLArmoryConstants = { } --Get Profession Information -local ProfessionName, ProfessionTexture +--local ProfessionName, ProfessionTexture for ProfessionSkillID, Key in pairs({ [105206] = 'Alchemy', [110396] = 'BlackSmithing', @@ -263,7 +263,7 @@ for ProfessionSkillID, Key in pairs({ [102216] = 'Skinning' }) do - ProfessionName, _, ProfessionTexture = GetSpellInfo(ProfessionSkillID) + local ProfessionName, _, ProfessionTexture = GetSpellInfo(ProfessionSkillID) SLArmoryConstants.ProfessionList[ProfessionName] = { ['Key'] = Key, -- 1.7.9.5