Escape texture pack names

This commit is contained in:
ShadowNinja 2014-02-03 17:57:19 -05:00 committed by Nils Dagsson Moskopp
parent 2b1dff8cb7
commit 5318fb3a94
Signed by: erle
GPG Key ID: A3BC671C35191080
1 changed files with 2 additions and 2 deletions

View File

@ -210,12 +210,12 @@ end
function menu.render_texture_pack_list(list)
local retval = ""
for i,v in ipairs(list) do
for i, v in ipairs(list) do
if retval ~= "" then
retval = retval ..","
end
retval = retval .. v
retval = retval .. engine.formspec_escape(v)
end
return retval