From 905d8e78a1c48e6f7fe8424fb6ff2eac5db76969 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 12 Aug 2008 18:04:02 +0200 Subject: [PATCH] awful: check for name not nil Signed-off-by: Julien Danjou --- lib/awful.lua.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/awful.lua.in b/lib/awful.lua.in index 4b239dd8..0851ff7f 100644 --- a/lib/awful.lua.in +++ b/lib/awful.lua.in @@ -1226,9 +1226,9 @@ local function widget_tasklist_label_common(c, args) text = "" end if c.hidden then - name = escape(c.icon_name) + name = escape(c.icon_name) or "" else - name = escape(c.name) + name = escape(c.name) or "" end if capi.client.focus == c then text = text .. " "..name.." "