diff options
| author | 2016-08-30 15:53:27 +1000 | |
|---|---|---|
| committer | 2016-08-30 15:53:27 +1000 | |
| commit | f5356a62de25fa69d8299f3f5f4cc1dd80d6c1d7 (patch) | |
| tree | 58fb91798c0c0335e53db2d3f9dc09bf226d72c6 /plugins/layout | |
| parent | 234e91f9fbdd5add24c551048df017573116fb0a (diff) | |
srcclean on lua plugins, too
Diffstat (limited to 'plugins/layout')
| -rw-r--r-- | plugins/layout/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/layout/init.lua b/plugins/layout/init.lua index fdac807b9b1..8301167633e 100644 --- a/plugins/layout/init.lua +++ b/plugins/layout/init.lua @@ -1,6 +1,6 @@ -- license:BSD-3-Clause -- copyright-holders:Carl --- Layout scripts should return a table and a string. The table can have two optional keys reset and frame +-- Layout scripts should return a table and a string. The table can have two optional keys reset and frame -- which have functions for values called on reset and frame draw respectively and the string is a unique name. local exports = {} exports.name = "layout" @@ -15,7 +15,7 @@ function layout.startplugin() local scripts = {} local function prepare_layout(script) local env = { machine = manager:machine(), pairs = pairs, ipairs = ipairs, - table = { insert = table.insert, remove = table.remove } } + table = { insert = table.insert, remove = table.remove } } local script, err = load(script, script, "t", env) if not script then emu.print_verbose("error loading layout script " .. err) |
