aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi/text.cpp')
-rw-r--r--engines/agi/text.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/text.cpp b/engines/agi/text.cpp
index da7f34fc19..63b109ee83 100644
--- a/engines/agi/text.cpp
+++ b/engines/agi/text.cpp
@@ -272,9 +272,9 @@ char *AgiEngine::wordWrapString(const char *s, int *len) {
if (wLen) {
memcpy(outStr, pWord, wLen);
outStr += wLen;
- }
+ }
lnLen += wLen+1;
-
+
if (lnLen > msgWidth) {
msgWidth = lnLen;