Fix awful.util.table.reverse
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
7575f64993
commit
e2f292d869
|
@ -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