From 14a9988567b5fb73ca103e9a4d78b8f32dd1f333 Mon Sep 17 00:00:00 2001 From: contribuewwt <38278035+undefinedDarkness@users.noreply.github.com> Date: Sat, 9 Mar 2024 22:26:28 +0530 Subject: [PATCH] tabbed_misc: remove goto to keep compat. with lua5.1 --- widget/tabbed_misc/custom_tasklist.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widget/tabbed_misc/custom_tasklist.lua b/widget/tabbed_misc/custom_tasklist.lua index ac22377..2acc63e 100644 --- a/widget/tabbed_misc/custom_tasklist.lua +++ b/widget/tabbed_misc/custom_tasklist.lua @@ -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