From bf837f5d4108774bcd6de2feb25609add8df5420 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 12 Apr 2009 17:38:10 +0200 Subject: [PATCH] awful.util: fix eval Do not need return actually. Signed-off-by: Julien Danjou --- lib/awful/util.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/util.lua.in b/lib/awful/util.lua.in index 39b0770b..0872aefd 100644 --- a/lib/awful/util.lua.in +++ b/lib/awful/util.lua.in @@ -87,7 +87,7 @@ end --- Eval Lua code. -- @return The return value of Lua code. function eval(s) - return assert(loadstring("return " .. s))() + return assert(loadstring(s))() end local xml_entity_names = { ["'"] = "'", ["\""] = """, ["<"] = "<", [">"] = ">", ["&"] = "&" };