tabbed_misc: remove goto to keep compat. with lua5.1

This commit is contained in:
contribuewwt 2024-03-09 22:26:28 +05:30 committed by GitHub
parent c42d64222a
commit 14a9988567
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

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