Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 14a9988

Browse files
tabbed_misc: remove goto to keep compat. with lua5.1
1 parent c42d642 commit 14a9988

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

widget/tabbed_misc/custom_tasklist.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ local function tabobj_support(self, c, index, clients)
3131

3232
-- To get the ball rolling.
3333
for idx, c in ipairs(group.clients) do
34-
if not (c and c.icon) then goto skip end
34+
if (c and c.icon) then
3535

3636
-- Add to the last layout
3737
layout_v:add(wibox.widget {
@@ -43,7 +43,7 @@ local function tabobj_support(self, c, index, clients)
4343
width = dpi(24),
4444
height = dpi(24)
4545
})
46-
::skip::
46+
end
4747
end
4848
self.widget = wrapper
4949
end

0 commit comments

Comments
 (0)