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
|
end
|
||||||
-- add the remaining elements
|
-- add the remaining elements
|
||||||
for k, v in pairs(t) do
|
for k, v in pairs(t) do
|
||||||
if type(v) ~= "number" then
|
if type(k) ~= "number" then
|
||||||
tr[k] = v
|
tr[k] = v
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue