mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
@@ -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
|
||||
|
||||
+2
-2
@@ -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]
|
||||
|
||||
@@ -168,7 +168,7 @@ local function FirstFrameUpdate()
|
||||
end
|
||||
|
||||
local function BuildUniqueValue(...)
|
||||
local n = arg.n
|
||||
local n = tgetn(arg)
|
||||
if n == 1 then
|
||||
return arg[1]
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user