diff options
author | Paul Gilbert | 2015-04-14 20:14:09 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-04-14 20:14:09 -0500 |
commit | f4af9fdbfd4531fd59c9f51785d573f6a128639e (patch) | |
tree | c62462069d487089fe0f577f4730f128de674011 | |
parent | c58325b519371064348b747c957a89d009ac12ba (diff) | |
download | scummvm-rg350-f4af9fdbfd4531fd59c9f51785d573f6a128639e.tar.gz scummvm-rg350-f4af9fdbfd4531fd59c9f51785d573f6a128639e.tar.bz2 scummvm-rg350-f4af9fdbfd4531fd59c9f51785d573f6a128639e.zip |
SHERLOCK: Fix word-wrap of talk 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; |