diff options
Diffstat (limited to 'engines/agi/text.cpp')
-rw-r--r-- | engines/agi/text.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/agi/text.cpp b/engines/agi/text.cpp index 502db4bdba..d5027588f9 100644 --- a/engines/agi/text.cpp +++ b/engines/agi/text.cpp @@ -224,7 +224,8 @@ void AgiEngine::printTextConsole(const char *msg, int x, int y, int len, int fg, * Based on GBAGI implementation with permission from the author */ char *AgiEngine::wordWrapString(const char *s, int *len) { - char *outStr, *msgBuf, maxWidth = *len; + char *outStr, *msgBuf; + int maxWidth = *len; const char *pWord; int lnLen, wLen; |