mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 14:42:24 +01:00
Mainmenu: Escape server_favorite_delete path
No similar issues were found inside this file.
This commit is contained in:
parent
2183b35ba4
commit
8dcbca1068
@ -110,8 +110,8 @@ local function get_formspec(tabview, name, tabdata)
|
||||
if gamedata.fav then
|
||||
retval = retval .. "tooltip[btn_delete_favorite;" .. fgettext("Remove favorite") .. "]"
|
||||
retval = retval .. "style[btn_delete_favorite;padding=6]"
|
||||
retval = retval .. "image_button[5,1.3;0.5,0.5;" .. defaulttexturedir ..
|
||||
"server_favorite_delete.png;btn_delete_favorite;]"
|
||||
retval = retval .. "image_button[5,1.3;0.5,0.5;" .. core.formspec_escape(defaulttexturedir ..
|
||||
"server_favorite_delete.png") .. ";btn_delete_favorite;]"
|
||||
end
|
||||
if gamedata.serverdescription then
|
||||
retval = retval .. "textarea[0.25,1.85;5.2,2.75;;;" ..
|
||||
|
Loading…
Reference in New Issue
Block a user