MADS: Fix to correctly wrap lines in text dialogs

This commit is contained in:
Paul Gilbert 2014-04-06 17:50:07 -04:00
parent 166a549cd5
commit 4e13e74f27

View File

@ -232,7 +232,7 @@ void TextDialog::wordWrap(const Common::String &line) {
void TextDialog::appendLine(const Common::String &line) {
_currentX += line.size();
_lineWidth += _font->getWidth(line, 1);
_lineWidth += _font->getWidth(line, 1) + 1;
_lines[_numLines] += line;
}