* Removed leaked global makeCheck
James Whitehead II [01-02-07 - 20:19]
* Removed leaked global makeCheck
diff --git a/PerfectRaid_Buffs.lua b/PerfectRaid_Buffs.lua
index 7b2abb9..b0b0ccf 100644
--- a/PerfectRaid_Buffs.lua
+++ b/PerfectRaid_Buffs.lua
@@ -394,7 +394,7 @@ function Buffs:CreateEditFrame(parent)
groupname:SetScript("OnTabPressed", function() if IsShiftKeyDown() then buffname:SetFocus() else disptext:SetFocus() end end)
disptext:SetScript("OnTabPressed", function() if IsShiftKeyDown() then groupname:SetFocus() else buffname:SetFocus() end end)
- function makeCheck(value)
+ local function makeCheck(value)
local button = CreateFrame("CheckButton", "PRBuffCond_"..value, PROptions_Buffs_Edit, "PRCheckTemplate")
button.Label:SetText(value)
button.value = value