Skip to content

Commit

Permalink
SHERLOCK: SS: Fix crash picking up typewriter
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Oct 8, 2015
1 parent 0dc9a46 commit 3c6cf2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/sherlock/talk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ void Talk::stripVoiceCommands() {
// rest of the name following it
statement._reply = Common::String(statement._reply.c_str(),
statement._reply.c_str() + idx) + " " +
Common::String(statement._reply.c_str() + 9);
Common::String(statement._reply.c_str() + idx + 9);
}
}

Expand Down

0 comments on commit 3c6cf2b

Please sign in to comment.