summaryrefslogtreecommitdiff
path: root/register.lua
diff options
context:
space:
mode:
Diffstat (limited to 'register.lua')
-rw-r--r--register.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/register.lua b/register.lua
index 131cbe2..aac5342 100644
--- a/register.lua
+++ b/register.lua
@@ -165,7 +165,7 @@ local function stack_image_button(x, y, w, h, buttonname_prefix, item)
return string.format("item_image_button[%u,%u;%u,%u;%s;%s;%s]",
x, y, w, h,
minetest.formspec_escape(displayitem),
- minetest.formspec_escape(buttonname_prefix..selectitem),
+ minetest.formspec_escape(buttonname_prefix..unified_inventory.mangle_for_formspec(selectitem)),
label)
end