diff --git a/lib/awful/widget.lua.in b/lib/awful/widget.lua.in index e880bd83..dc9a706a 100644 --- a/lib/awful/widget.lua.in +++ b/lib/awful/widget.lua.in @@ -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