diff options
author | Paul Gilbert | 2007-04-13 03:34:20 +0000 |
---|---|---|
committer | Paul Gilbert | 2007-04-13 03:34:20 +0000 |
commit | a35e5a42be087fe6a736eacdc5444a7f584bb3d7 (patch) | |
tree | ad1b0e7009ca4aaafd2abe01ee7d959adc654a59 /engines/lure | |
parent | 33ac8d550a97135c1fa6a87e1cc3dec49843b703 (diff) | |
download | scummvm-rg350-a35e5a42be087fe6a736eacdc5444a7f584bb3d7.tar.gz scummvm-rg350-a35e5a42be087fe6a736eacdc5444a7f584bb3d7.tar.bz2 scummvm-rg350-a35e5a42be087fe6a736eacdc5444a7f584bb3d7.zip |
Adjusted word wrapping width in talk dialogs
svn-id: r26457
Diffstat (limited to 'engines/lure')
-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, |