awful.widget: fix tags removal

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-10 17:05:33 +01:00
parent 5d87bccbc2
commit e9916d34b6
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ function taglist.new(scr, label, buttons)
end
-- Remove widgets
elseif len > #tags then
for i = #tags, len do
for i = #tags + 1, len do
w[i] = nil
end
end