diff options
-rw-r--r-- | engines/lure/surface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/surface.cpp b/engines/lure/surface.cpp index 6c3154660a..ef38854bee 100644 --- a/engines/lure/surface.cpp +++ b/engines/lure/surface.cpp @@ -524,7 +524,7 @@ TalkDialog::TalkDialog(uint16 characterId, uint16 destCharacterId, uint16 active strings.getString(descId, _desc, itemName, destCharName); // Apply word wrapping to figure out the needed size of the dialog - Surface::wordWrap(_desc, TALK_DIALOG_WIDTH - TALK_DIALOG_EDGE_SIZE * 2 - 2, + Surface::wordWrap(_desc, TALK_DIALOG_WIDTH - (TALK_DIALOG_EDGE_SIZE + 3) * 2, _lines, _numLines); _surface = new Surface(TALK_DIALOG_WIDTH, |