summaryrefslogtreecommitdiff
path: root/plugins/MirLua/docs/examples/menus.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/docs/examples/menus.lua')
-rw-r--r--plugins/MirLua/docs/examples/menus.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/docs/examples/menus.lua b/plugins/MirLua/docs/examples/menus.lua
index d1adec03d0..67bea59a40 100644
--- a/plugins/MirLua/docs/examples/menus.lua
+++ b/plugins/MirLua/docs/examples/menus.lua
@@ -54,4 +54,4 @@ local hChild = genmenu.AddMainMenuItem(menuItem)
--- Modify menu item
local CMIM_NAME = tonumber("80000000", 16)
-genmenu.ModifyMenuItem(hChild, { Name = "Main menu child", Flags = CMIM_NAME })
+genmenu.ModifyMenuItem(hChild, "Main menu child", hIcon, CMIM_NAME)