mirror of
https://github.com/koreader/koreader
synced 2024-11-11 19:11:14 +00:00
removed one case of Lua <5.1 varargs handling
This commit is contained in:
parent
869c7b573f
commit
88a7781913
@ -29,7 +29,7 @@ end
|
|||||||
|
|
||||||
function DEBUG(...)
|
function DEBUG(...)
|
||||||
local line = ""
|
local line = ""
|
||||||
for i,v in ipairs(arg) do
|
for i,v in ipairs({...}) do
|
||||||
if type(v) == "table" then
|
if type(v) == "table" then
|
||||||
line = line .. " " .. dump(v)
|
line = line .. " " .. dump(v)
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user