menubar: Fix a typo in the code
Find/replace error when porting the deprecated code
Regression from 2f105eac86
Fix #1652
See #1072
This commit is contained in:
parent
901df65eb0
commit
05717026b7
|
@ -306,7 +306,7 @@ end
|
|||
-- @tparam number|screen s Screen
|
||||
-- @treturn int Text width.
|
||||
function utils.compute_text_width(text, s)
|
||||
return utils.compute_textbox_width(wibox.widget.textbox(gstring.escape(text)), s)
|
||||
return utils.compute_textbox_width(wibox.widget.textbox(gstring.xml_escape(text)), s)
|
||||
end
|
||||
|
||||
return utils
|
||||
|
|
Loading…
Reference in New Issue