Fix awful.util.table.reverse
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
064f4c92fd
commit
553bf417f8
|
@ -326,7 +326,7 @@ function table.reverse(t)
|
|||
end
|
||||
-- add the remaining elements
|
||||
for k, v in pairs(t) do
|
||||
if type(v) ~= "number" then
|
||||
if type(k) ~= "number" then
|
||||
tr[k] = v
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue