From f4af9fdbfd4531fd59c9f51785d573f6a128639e Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 14 Apr 2015 20:14:09 -0500 Subject: SHERLOCK: Fix word-wrap of talk options --- engines/sherlock/talk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3