This commit is contained in:
Crum
2018-07-11 18:35:38 -05:00
parent 80776fc058
commit 00de485c0b
9 changed files with 100 additions and 111 deletions
@@ -1926,7 +1926,7 @@ function AceConfigDialog:AddToBlizOptions(appName, name, parent, ...)
local BlizOptions = AceConfigDialog.BlizOptions
local key = appName
local l = tgetn(arg)
local l = arg.n
for n = 1, l do
key = key .. "\001" .. arg[n]
end
@@ -23,7 +23,7 @@ if not AceConfigRegistry.callbacks then
end
-- Lua APIs
local tinsert, tconcat, tgetn = table.insert, table.concat, table.getn
local tinsert, tconcat = table.insert, table.concat
local strfind = string.find
local type, tostring, pairs = type, tostring, pairs
local error, assert = error, assert
@@ -41,7 +41,7 @@ AceConfigRegistry.validated = {
}
local function err(msg, errlvl, ...)
local l = tgetn(arg)
local l = arg.n
local i,j = 1,l
while i < j do
arg[i], arg[j] = arg[j], arg[i]
@@ -168,7 +168,7 @@ local function FirstFrameUpdate()
end
local function BuildUniqueValue(...)
local n = tgetn(arg)
local n = arg.n
if n == 1 then
return arg[1]
else