From 56170db6319a4c694e54573bdda2ad2e1c54bc0e Mon Sep 17 00:00:00 2001 From: Arvydas Sidorenko Date: Sat, 1 Dec 2012 14:02:49 +0100 Subject: [PATCH] Renamed string.gfind to string.gmatch Lua 5.1: string.gfind renamed to string.gmatch Lua 5.2: string.gfind removed Signed-off-by: Arvydas Sidorenko Signed-off-by: Uli Schlachter --- lib/menubar/utils.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/menubar/utils.lua.in b/lib/menubar/utils.lua.in index e45a8bca..1bc20c4e 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