Fix main menu error message dialog: Now multi-line messages aren't cut at half of...
authorPerttu Ahola <celeron55@gmail.com>
Mon, 6 Jan 2014 00:37:36 +0000 (02:37 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Mon, 6 Jan 2014 00:37:36 +0000 (02:37 +0200)
builtin/mainmenu.lua

index ecbcce1a029cbbe9523089dc897aff8f93ce5c94..73f04361eea7cfabcc5fda8524a9df30f9cd630e 100644 (file)
@@ -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") .. "]"