TextBoxWidget: fix crash when empty last line and alignment center/right (#5691)

reviewable/pr5693/r1
poire-z 4 years ago committed by Frans de Jonge
parent ea67b9be77
commit a838a6eb1d

@ -311,6 +311,7 @@ function TextBoxWidget:_splitToLines()
offset = size+1,
end_offset = nil,
width = 0,
targeted_width = targeted_width,
}
end
ln = ln + 1

Loading…
Cancel
Save