projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92aa38b
)
Escape error messages in error dialog
author
PilzAdam
<pilzadam@minetest.net>
Mon, 6 Jan 2014 17:59:14 +0000
(18:59 +0100)
committer
PilzAdam
<pilzadam@minetest.net>
Mon, 6 Jan 2014 17:59:14 +0000
(18:59 +0100)
builtin/mainmenu.lua
patch
|
blob
|
history
diff --git
a/builtin/mainmenu.lua
b/builtin/mainmenu.lua
index 73f04361eea7cfabcc5fda8524a9df30f9cd630e..d8c2b63eceb682cbaeb3f0f1436fb416675c2f7e 100644
(file)
--- 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