summaryrefslogtreecommitdiffhomepage
path: root/core/src/ffluci
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-05-05 19:59:57 +0000
committerSteven Barth <steven@midlink.org>2008-05-05 19:59:57 +0000
commit1b65106ac8bab5bb840b3d282d416e160882dea4 (patch)
tree75cfb29e2663ba95864745b65e94eaf7f7425d3f /core/src/ffluci
parentdecdaf673607169fbe2979d18c59498f2ca47b39 (diff)
* Fixed menu cache
Diffstat (limited to 'core/src/ffluci')
-rw-r--r--core/src/ffluci/menu.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/ffluci/menu.lua b/core/src/ffluci/menu.lua
index ed05f881d..e55c0e76a 100644
--- a/core/src/ffluci/menu.lua
+++ b/core/src/ffluci/menu.lua
@@ -43,7 +43,7 @@ scope = {
}
-- Local menu database
-local menu = {}
+local menu = nil
-- The current pointer
local menuc = {}
@@ -119,6 +119,7 @@ end
-- Returns the menu information
function get()
if not menu then
+ menu = {}
collect()
end
return menu