diff options
-rw-r--r-- | engines/sherlock/talk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp index 279e6de69a..49e0677b80 100644 --- a/engines/sherlock/talk.cpp +++ b/engines/sherlock/talk.cpp @@ -795,7 +795,7 @@ int Talk::talkLine(int lineNum, int stateNum, byte color, int lineY, bool slamIt // Handle potentially multiple lines needed to display entire statement const char *lineStartP = msg.c_str(); - int maxWidth = 298 - numberFlag ? 18 : 0; + int maxWidth = 298 - (numberFlag ? 18 : 0); for (;;) { // Get as much of the statement as possible will fit on the Common::String sLine; |