Skip to content
Snippets Groups Projects
Commit 86c616a5 authored by Perttu Ahola's avatar Perttu Ahola
Browse files

Fix main menu error message dialog: Now multi-line messages aren't cut at half of second line

parent 10eea107
No related branches found
No related tags found
No related merge requests found
...@@ -177,7 +177,7 @@ function update_menu() ...@@ -177,7 +177,7 @@ function update_menu()
-- handle errors -- handle errors
if gamedata.errormessage ~= nil then if gamedata.errormessage ~= nil then
formspec = "size[12,5.2]" .. formspec = "size[12,5.2]" ..
"field[1,2;10,2;;ERROR: " .. "textarea[1,2;10,2;;ERROR: " ..
gamedata.errormessage .. gamedata.errormessage ..
";]".. ";]"..
"button[4.5,4.2;3,0.5;btn_error_confirm;" .. fgettext("Ok") .. "]" "button[4.5,4.2;3,0.5;btn_error_confirm;" .. fgettext("Ok") .. "]"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment