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

master
Perttu Ahola 2014-01-06 02:37:36 +02:00
parent 10eea107ed
commit 86c616a545
1 changed files with 1 additions and 1 deletions

View File

@ -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") .. "]"