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

Commit

Permalink
tabbed_misc: remove goto to keep compat. with lua5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
undefinedDarkness authored Mar 9, 2024
1 parent c42d642 commit 14a9988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions widget/tabbed_misc/custom_tasklist.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ local function tabobj_support(self, c, index, clients)

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

-- Add to the last layout
layout_v:add(wibox.widget {
Expand All @@ -43,7 +43,7 @@ local function tabobj_support(self, c, index, clients)
width = dpi(24),
height = dpi(24)
})
::skip::
end
end
self.widget = wrapper
end
Expand Down

0 comments on commit 14a9988

Please sign in to comment.