aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel
diff options
context:
space:
mode:
authorPaul Gilbert2016-01-31 18:10:58 -0500
committerPaul Gilbert2016-01-31 18:10:58 -0500
commit73242aa5bc15746572c183b24c77e7fb20c023a0 (patch)
tree6c769b02fbc1581e190b403d0b1ef9f3ad44bd4e /engines/sherlock/scalpel
parente1566c7f4540f346f3cc2593e8159f9553b9e200 (diff)
downloadscummvm-rg350-73242aa5bc15746572c183b24c77e7fb20c023a0.tar.gz
scummvm-rg350-73242aa5bc15746572c183b24c77e7fb20c023a0.tar.bz2
scummvm-rg350-73242aa5bc15746572c183b24c77e7fb20c023a0.zip
SHERLOCK: SS: Fix incorrect conversation lines display in German version
Diffstat (limited to 'engines/sherlock/scalpel')
-rw-r--r--engines/sherlock/scalpel/scalpel_talk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/scalpel/scalpel_talk.cpp b/engines/sherlock/scalpel/scalpel_talk.cpp
index be2baf9184..b6e9482e3c 100644
--- a/engines/sherlock/scalpel/scalpel_talk.cpp
+++ b/engines/sherlock/scalpel/scalpel_talk.cpp
@@ -276,7 +276,7 @@ void ScalpelTalk::talkInterface(const byte *&str) {
str += idx;
// If line wrap occurred, then move to after the separating space between the words
- if ((!isOpcode(str[0])) && str[0] != '{')
+ if (str[0] && (!isOpcode(str[0])) && str[0] != '{')
++str;
_yp += 9;