Permalink
Browse files

Escape error messages in error dialog

  • Loading branch information...
PilzAdam committed Jan 6, 2014
1 parent 92aa38b commit 3e728e722a788350718046daaf36f9a9c14ef1d1
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 3e728e7

Please sign in to comment.