diff options
author | PilzAdam <pilzadam@minetest.net> | 2014-01-06 18:59:14 +0100 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2014-01-06 18:59:14 +0100 |
commit | 3e728e722a788350718046daaf36f9a9c14ef1d1 (patch) | |
tree | 31b2ad15614c3182a23c756739fc589568892709 | |
parent | 92aa38bdfc36fd7599a8e85722825381c89f0f9c (diff) | |
download | minetest-3e728e722a788350718046daaf36f9a9c14ef1d1.tar.gz minetest-3e728e722a788350718046daaf36f9a9c14ef1d1.tar.bz2 minetest-3e728e722a788350718046daaf36f9a9c14ef1d1.zip |
Escape error messages in error dialog
-rw-r--r-- | builtin/mainmenu.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua index 73f04361e..d8c2b63ec 100644 --- a/builtin/mainmenu.lua +++ b/builtin/mainmenu.lua @@ -178,7 +178,7 @@ function update_menu() if gamedata.errormessage ~= nil then formspec = "size[12,5.2]" .. "textarea[1,2;10,2;;ERROR: " .. - gamedata.errormessage .. + engine.formspec_escape(gamedata.errormessage) .. ";]".. "button[4.5,4.2;3,0.5;btn_error_confirm;" .. fgettext("Ok") .. "]" else |