From 70a9a676edd3956989b4f8f74c70be3baeb89cc8 Mon Sep 17 00:00:00 2001 From: Lucas de Vries Date: Wed, 11 Jun 2008 11:09:23 +0200 Subject: [PATCH] [tabulous] Fix untabbing last tab --- tabulous.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabulous.lua b/tabulous.lua index ad7c31ec..baf81ef8 100644 --- a/tabulous.lua +++ b/tabulous.lua @@ -159,7 +159,7 @@ local function client_untab(cl) table.remove(tabbed[tabindex][2], cindex) - if table.maxn(tabbed[tabindex][2]) == o then + if table.maxn(tabbed[tabindex][2]) == 0 then -- Table is empty now, remove the tabbed display table.remove(tabbed, tabindex) end