diff options
author | David Eriksson | 2003-10-19 11:55:55 +0000 |
---|---|---|
committer | David Eriksson | 2003-10-19 11:55:55 +0000 |
commit | 7897eeac1093f3dff9ba7164bc2c50d8c3f28610 (patch) | |
tree | f16d1ce017223f2752d6a733db6387c73039722f | |
parent | e3d236def0bd8885e40cc68e4f3faa2b2ca1febd (diff) | |
download | scummvm-rg350-7897eeac1093f3dff9ba7164bc2c50d8c3f28610.tar.gz scummvm-rg350-7897eeac1093f3dff9ba7164bc2c50d8c3f28610.tar.bz2 scummvm-rg350-7897eeac1093f3dff9ba7164bc2c50d8c3f28610.zip |
Do it right this time.
svn-id: r10906
-rw-r--r-- | queen/talk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queen/talk.cpp b/queen/talk.cpp index eab5619a6d..10a26f7876 100644 --- a/queen/talk.cpp +++ b/queen/talk.cpp @@ -630,7 +630,7 @@ void Talk::speakSegment( segment[length] = '\0'; char voiceFileName[MAX_STRING_SIZE]; - snprintf(voiceFileName, sizeof(voiceFileName), "%s%1x", voiceFilePrefix + 1, index); + snprintf(voiceFileName, sizeof(voiceFileName), "%s%1x", voiceFilePrefix, index + 1); //debug(0, "Sentence segment '%*s' is said by person '%s' and voice file '%s' is played", // length, segment, person, voiceFileName); |