From 2ec6e678be65338ceb9d9523c0031d7ef81b4d4d Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Fri, 14 Nov 2008 13:26:23 +0000 Subject: Fixing compilation svn-id: r35055 --- engines/saga/rscfile.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engines/saga') diff --git a/engines/saga/rscfile.cpp b/engines/saga/rscfile.cpp index edb0ec4b59..cd4dbdd0a9 100644 --- a/engines/saga/rscfile.cpp +++ b/engines/saga/rscfile.cpp @@ -457,8 +457,8 @@ bool Resource::createContexts() { fileFound = true; // Special cases - if (!stricmp(curSoundfiles[i].fileName, "inherit the earth voices") || - !stricmp(curSoundfiles[i].fileName, "inherit the earth voices.cmp")) { + if (!scumm_stricmp(curSoundfiles[i].fileName, "inherit the earth voices") || + !scumm_stricmp(curSoundfiles[i].fileName, "inherit the earth voices.cmp")) { // The resources in the Wyrmkeep combined Windows/Mac/Linux CD version are little endian, but // the voice file is big endian. If we got such a version with mixed files, mark this voice file // as big endian @@ -466,12 +466,12 @@ bool Resource::createContexts() { voiceFileType = GAME_VOICEFILE | GAME_SWAPENDIAN; // This file is big endian } - if (!stricmp(curSoundfiles[i].fileName, "ite voices.bin")) { + if (!scumm_stricmp(curSoundfiles[i].fileName, "ite voices.bin")) { voiceFileType = GAME_VOICEFILE | GAME_MACBINARY; } - if (!stricmp(curSoundfiles[i].fileName, "voicess.res") || - !stricmp(curSoundfiles[i].fileName, "voicess.cmp")) { + if (!scumm_stricmp(curSoundfiles[i].fileName, "voicess.res") || + !scumm_stricmp(curSoundfiles[i].fileName, "voicess.cmp")) { // IHNM has multiple voice files multipleVoices = true; // Note: it is assumed that the voice files are always last in the list -- cgit v1.2.3