Skip to content

Commit

Permalink
Escape texture pack names
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowNinja committed Feb 3, 2014
1 parent 857a49e commit fbef701
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builtin/mainmenu.lua
Expand Up @@ -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
Expand Down

0 comments on commit fbef701

Please sign in to comment.