diff options
Diffstat (limited to 'lib/menubuilder.lua')
-rw-r--r-- | lib/menubuilder.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/menubuilder.lua b/lib/menubuilder.lua index 5b9509b..975c31a 100644 --- a/lib/menubuilder.lua +++ b/lib/menubuilder.lua @@ -64,7 +64,7 @@ get_menuitems = function (startdir) startdir = (string.gsub(startdir, "/$", "")) --remove trailing / for k,filename in pairs(get_candidates(startdir)) do local controller = mvc.basename(filename, ".menu") - local prefix = (string.gsub(mvc.dirname(filename), startdir, "")) + local prefix = (string.gsub(mvc.dirname(filename), startdir, "")).."/" -- open the menu file, and parse the contents local handle = io.open(filename) |