From 3fca4e067784eb6a2704da56b92bce121bf6b8c6 Mon Sep 17 00:00:00 2001 From: Ali Polatel Date: Mon, 4 May 2009 17:18:58 +0300 Subject: [PATCH] awful.widget.taglist: Fix label.all() awful.util.escape() may return nil Signed-off-by: Julien Danjou --- lib/awful/widget/taglist.lua.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/awful/widget/taglist.lua.in b/lib/awful/widget/taglist.lua.in index c831858c..48d619dc 100644 --- a/lib/awful/widget/taglist.lua.in +++ b/lib/awful/widget/taglist.lua.in @@ -137,9 +137,9 @@ function label.all(t, args) if not tag.getproperty(t, "icon_only") then if fg_color then text = text .. "" - text = " " .. text..util.escape(t.name).." " + text = " " .. text.. (util.escape(t.name) or "") .." " else - text = text .. " " .. util.escape(t.name) .. " " + text = text .. " " .. (util.escape(t.name) or "") .. " " end end text = text .. ""