From 86c616a545efcc8ed8487440d686a17358170756 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 6 Jan 2014 02:37:36 +0200 Subject: Fix main menu error message dialog: Now multi-line messages aren't cut at half of second line --- builtin/mainmenu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") .. "]" -- cgit v1.2.3