[Scummvm-cvs-logs] scummvm master -> 3c6cf2b947a49df918c2f4d6a91e2f176ac39707
dreammaster
dreammaster at scummvm.org
Thu Oct 8 03:23:27 CEST 2015
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
3c6cf2b947 SHERLOCK: SS: Fix crash picking up typewriter
Commit: 3c6cf2b947a49df918c2f4d6a91e2f176ac39707
https://github.com/scummvm/scummvm/commit/3c6cf2b947a49df918c2f4d6a91e2f176ac39707
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-10-07T21:22:51-04:00
Commit Message:
SHERLOCK: SS: Fix crash picking up typewriter
Changed paths:
engines/sherlock/talk.cpp
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp
index af80dae..b61d3f1 100644
--- a/engines/sherlock/talk.cpp
+++ b/engines/sherlock/talk.cpp
@@ -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);
}
}
More information about the Scummvm-git-logs
mailing list