diff options
author | ShadowNinja <shadowninja@minetest.net> | 2014-02-03 17:57:19 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2014-02-03 17:57:19 -0500 |
commit | fbef701bcddb4a85e25fb9ff6ead07c820b1158d (patch) | |
tree | 9c81e6ff0eb0728f43d59630853aa09297f1e542 /builtin/mainmenu.lua | |
parent | 857a49e08131bb46ca18d08d3b4aba44df1676d1 (diff) | |
download | minetest-fbef701bcddb4a85e25fb9ff6ead07c820b1158d.tar.gz minetest-fbef701bcddb4a85e25fb9ff6ead07c820b1158d.tar.bz2 minetest-fbef701bcddb4a85e25fb9ff6ead07c820b1158d.zip |
Escape texture pack names
Diffstat (limited to 'builtin/mainmenu.lua')
-rw-r--r-- | builtin/mainmenu.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua index 7fa5ff6cf..5a5fe3b7f 100644 --- a/builtin/mainmenu.lua +++ b/builtin/mainmenu.lua @@ -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 |