diff options
author | sfan5 <sfan5@live.de> | 2020-07-08 23:37:14 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2020-07-08 23:37:14 +0200 |
commit | 21de17e3b695f3fcb0462f4aeb2a6ff733d0d282 (patch) | |
tree | 291e0fcccf38326fd70c695b5c514c3db0ffbaac | |
parent | b4c25872f181ccd87199aeed0a26e68d03d3089b (diff) | |
download | minetest-21de17e3b695f3fcb0462f4aeb2a6ff733d0d282.tar.gz minetest-21de17e3b695f3fcb0462f4aeb2a6ff733d0d282.tar.bz2 minetest-21de17e3b695f3fcb0462f4aeb2a6ff733d0d282.zip |
Fix ContentDB menu icons not appearing on Windows
-rw-r--r-- | builtin/mainmenu/dlg_contentstore.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/builtin/mainmenu/dlg_contentstore.lua b/builtin/mainmenu/dlg_contentstore.lua index b5c330f8f..01c42be0b 100644 --- a/builtin/mainmenu/dlg_contentstore.lua +++ b/builtin/mainmenu/dlg_contentstore.lua @@ -333,12 +333,12 @@ function store.get_formspec(dlgdata) "button[0.375,0;4,0.8;back;", fgettext("Back to Main Menu"), "]", "container[", W - 0.375 - 0.8*4 - 2, ",0]", - "image_button[0,0;0.8,0.8;", defaulttexturedir, "start_icon.png;pstart;]", - "image_button[0.8,0;0.8,0.8;", defaulttexturedir, "prev_icon.png;pback;]", + "image_button[0,0;0.8,0.8;", core.formspec_escape(defaulttexturedir), "start_icon.png;pstart;]", + "image_button[0.8,0;0.8,0.8;", core.formspec_escape(defaulttexturedir), "prev_icon.png;pback;]", "style[pagenum;border=false]", "button[1.6,0;2,0.8;pagenum;", tonumber(cur_page), " / ", tonumber(dlgdata.pagemax), "]", - "image_button[3.6,0;0.8,0.8;", defaulttexturedir, "next_icon.png;pnext;]", - "image_button[4.4,0;0.8,0.8;", defaulttexturedir, "end_icon.png;pend;]", + "image_button[3.6,0;0.8,0.8;", core.formspec_escape(defaulttexturedir), "next_icon.png;pnext;]", + "image_button[4.4,0;0.8,0.8;", core.formspec_escape(defaulttexturedir), "end_icon.png;pend;]", "container_end[]", "container_end[]", |