taglist: Remove dead code

The image "library" is long gone.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2016-01-15 18:43:56 +01:00
parent 86f2d05382
commit 4d562306d2
1 changed files with 1 additions and 3 deletions

View File

@ -107,9 +107,7 @@ function taglist.taglist_label(t, args)
text = text .. "</span>" text = text .. "</span>"
end end
if not taglist_disable_icon then if not taglist_disable_icon then
if tag.geticon(t) and type(tag.geticon(t)) == "image" then if tag.geticon(t) then
icon = tag.geticon(t)
elseif tag.geticon(t) then
icon = surface.load(tag.geticon(t)) icon = surface.load(tag.geticon(t))
end end
end end