From e9b6c33be3a04372aef7a9a9186db5a3623cc07b Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 27 Jun 2008 22:21:10 +0200 Subject: [PATCH] tasklist: bug fix in show Signed-off-by: Julien Danjou --- widgets/tasklist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/tasklist.c b/widgets/tasklist.c index 73a073721..3899a05e6 100644 --- a/widgets/tasklist.c +++ b/widgets/tasklist.c @@ -360,7 +360,7 @@ luaA_tasklist_newindex(lua_State *L) d->show_icons = luaA_checkboolean(L, 3); break; case A_TK_SHOW: - if((buf = luaL_checklstring(L, 2, &len))) + if((buf = luaL_checklstring(L, 3, &len))) switch(a_tokenize(buf, len)) { case A_TK_TAGS: