Revert "cleanup"

This reverts commit 00de485c0b.
This commit is contained in:
Crum
2018-07-11 18:35:38 -05:00
parent 5c1eb005e4
commit 0a5d848f60
9 changed files with 111 additions and 100 deletions
@@ -1926,7 +1926,7 @@ function AceConfigDialog:AddToBlizOptions(appName, name, parent, ...)
local BlizOptions = AceConfigDialog.BlizOptions
local key = appName
local l = arg.n
local l = tgetn(arg)
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 = table.insert, table.concat
local tinsert, tconcat, tgetn = table.insert, table.concat, table.getn
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 = arg.n
local l = tgetn(arg)
local i,j = 1,l
while i < j do
arg[i], arg[j] = arg[j], arg[i]