mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-30 22:23:54 +00:00
MADS: Fix to correctly wrap lines in text dialogs
This commit is contained in:
parent
166a549cd5
commit
4e13e74f27
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user