aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2014-01-06 02:37:36 +0200
committerPerttu Ahola <celeron55@gmail.com>2014-01-06 02:37:36 +0200
commit86c616a545efcc8ed8487440d686a17358170756 (patch)
tree48b5b69058d43a0e3454df255ae5c6eb2cdc16c0
parent10eea107edc1c29a5896ea78f98f19f94e49d6c9 (diff)
downloadminetest-86c616a545efcc8ed8487440d686a17358170756.tar.gz
minetest-86c616a545efcc8ed8487440d686a17358170756.tar.bz2
minetest-86c616a545efcc8ed8487440d686a17358170756.zip
Fix main menu error message dialog: Now multi-line messages aren't cut at half of second line
-rw-r--r--builtin/mainmenu.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua
index ecbcce1a0..73f04361e 100644
--- a/builtin/mainmenu.lua
+++ b/builtin/mainmenu.lua
@@ -177,7 +177,7 @@ function update_menu()
-- handle errors
if gamedata.errormessage ~= nil then
formspec = "size[12,5.2]" ..
- "field[1,2;10,2;;ERROR: " ..
+ "textarea[1,2;10,2;;ERROR: " ..
gamedata.errormessage ..
";]"..
"button[4.5,4.2;3,0.5;btn_error_confirm;" .. fgettext("Ok") .. "]"