[Scummvm-cvs-logs] CVS: scummvm/queen talk.cpp,1.18,1.19

David Eriksson twogood at users.sourceforge.net
Sun Oct 19 05:45:11 CEST 2003


Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv31360/queen

Modified Files:
	talk.cpp 
Log Message:
Do it right this time.


Index: talk.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/talk.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- talk.cpp	19 Oct 2003 11:51:41 -0000	1.18
+++ talk.cpp	19 Oct 2003 11:55:55 -0000	1.19
@@ -630,7 +630,7 @@
 	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);





More information about the Scummvm-git-logs mailing list