ipairs refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-11-26 18:28:01 +01:00
parent 90d92ecc34
commit 3f3c7b28fc
9 changed files with 47 additions and 39 deletions
+2 -2
View File
@@ -3,8 +3,8 @@ module 'aux'
local gui = require 'aux.gui'
function LOAD()
for _, info in ipairs(tab_info) do
tabs:create_tab(info.name)
for i = 1, getn(tab_info) do
tabs:create_tab(tab_info[i].name)
end
end