[Scummvm-cvs-logs] CVS: scummvm/queen talk.cpp,1.94,1.95

Chris Apers chrilith at users.sourceforge.net
Fri Mar 19 03:00:10 CET 2004


Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28113

Modified Files:
	talk.cpp 
Log Message:
Fixed

Index: talk.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/talk.cpp,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- talk.cpp	17 Mar 2004 14:10:51 -0000	1.94
+++ talk.cpp	19 Mar 2004 10:49:29 -0000	1.95
@@ -896,13 +896,7 @@
 	segment[length] = '\0';
 	
 	char voiceFileName[MAX_STRING_SIZE];
-#ifndef __PALM_OS__
 	snprintf(voiceFileName, sizeof(voiceFileName), "%s%1x", voiceFilePrefix, index + 1);
-#else
-	// %(X)x is not supported on PalmOS
-	sprintf(voiceFileName, "%s%1x", voiceFilePrefix, index + 1);
-	strncpy(voiceFileName + strlen(voiceFileName) - 8, voiceFileName + strlen(voiceFileName) - 1, 2); 
-#endif
 
 	// debug(6, "Sentence segment '%*s' is said by person '%s' and voice file '%s' is played",
 	//		length, segment, person->name, voiceFileName);





More information about the Scummvm-git-logs mailing list