diff --git a/lib/menubar/utils.lua.in b/lib/menubar/utils.lua.in index e45a8bcab..1bc20c4e6 100644 --- a/lib/menubar/utils.lua.in +++ b/lib/menubar/utils.lua.in @@ -150,7 +150,7 @@ function utils.parse(file) -- line separated by semicolon. if program.Categories then program.categories = {} - for category in program.Categories:gfind('[^;]+') do + for category in program.Categories:gmatch('[^;]+') do table.insert(program.categories, category) end end