For example, without this patch, the following table would be said to be looping: { a = "asd", b = "asd" }
I think this could also be triggered if a widget appeared twice in a wibox. Signed-off-by: Uli Schlachter <psyc...@znc.in> --- luaa.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/luaa.c b/luaa.c index df26432..e3a834f 100644 --- a/luaa.c +++ b/luaa.c @@ -575,7 +575,7 @@ luaA_isloop_check(lua_State *L, void_array_t *elems) lua_pushnil(L); while(luaA_next(L, -2)) { - if(!luaA_isloop_check(L, elems)) + if(lua_istable(L, -1) && !luaA_isloop_check(L, elems)) { /* remove key and value */ lua_pop(L, 2); -- 1.6.2.1 -- "Do you know that books smell like nutmeg or some spice from a foreign land?" -- Faber in Fahrenheit 451 -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.