aboutsummaryrefslogtreecommitdiff
path: root/queen
diff options
context:
space:
mode:
authorChris Apers2004-03-19 10:49:29 +0000
committerChris Apers2004-03-19 10:49:29 +0000
commit5121f61175f7a59c71667ed04d9c8f1e43843af4 (patch)
tree99ed5e7d5619776357cdbf133e6e61704e603eb9 /queen
parent578b87b856121a3718abbc4d5b2026762afa2ade (diff)
downloadscummvm-rg350-5121f61175f7a59c71667ed04d9c8f1e43843af4.tar.gz
scummvm-rg350-5121f61175f7a59c71667ed04d9c8f1e43843af4.tar.bz2
scummvm-rg350-5121f61175f7a59c71667ed04d9c8f1e43843af4.zip
Fixed
svn-id: r13342
Diffstat (limited to 'queen')
-rw-r--r--queen/talk.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/queen/talk.cpp b/queen/talk.cpp
index 26c114648e..41ebbdf09c 100644
--- a/queen/talk.cpp
+++ b/queen/talk.cpp
@@ -896,13 +896,7 @@ void Talk::speakSegment(
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);