From a35e5a42be087fe6a736eacdc5444a7f584bb3d7 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 13 Apr 2007 03:34:20 +0000 Subject: Adjusted word wrapping width in talk dialogs svn-id: r26457 --- engines/lure/surface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3