menu: do not double escape name in 'menu:clients()' (FS#1202)

Label of menu entries will be escaped automatically.  Doing it manually
in menu:clients() will escape it it twice.

Patch removes the util.escape() call in menu:clients()

Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Enrico Scholz 2013-12-26 15:50:10 +01:00 committed by Uli Schlachter
parent 9723f23f26
commit 77e92e17a1
1 changed files with 1 additions and 1 deletions

View File

@ -463,7 +463,7 @@ function menu:clients(args) -- FIXME crude api
local cls_t = {}
for k, c in pairs(cls) do
cls_t[#cls_t + 1] = {
util.escape(c.name) or "",
c.name or "",
function ()
if not c:isvisible() then
tags.viewmore(c:tags(), c.screen)