Quantcast

some taint fixes

Repooc [08-10-14 - 01:25]
some taint fixes
Filename
ElvUI_SLE/core/install.lua
ElvUI_SLE/modules/characterframe/core.lua
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,