diff --git a/res/modules/internal/gui_util.lua b/res/modules/internal/gui_util.lua index 656a0dfc8..971bad39f 100644 --- a/res/modules/internal/gui_util.lua +++ b/res/modules/internal/gui_util.lua @@ -192,13 +192,15 @@ function gui.ask(text, on_yes, on_no, yes_text, no_text) - + - ]], id, string.escape_xml(text)), {on_yes=yes_callback, on_no=no_callback}, - string.escape_xml(yes_text), string.escape_xml(no_text)) + ]], id, + string.escape_xml(text), + string.escape_xml(yes_text), + string.escape_xml(no_text)), {on_yes=yes_callback, on_no=no_callback}) input.add_callback("key:escape", no_callback, gui.root[id]) end