tasklist: bug fix in show

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-27 22:21:10 +02:00
parent c4cc8da645
commit e9b6c33be3
1 changed files with 1 additions and 1 deletions

View File

@ -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: