aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
diff options
context:
space:
mode:
authorMax Horn2006-03-02 22:29:01 +0000
committerMax Horn2006-03-02 22:29:01 +0000
commit907bd7128dde715b35b8d93c26e6f6ebcae77c05 (patch)
tree59f222395f9e11f0f058b0d1bc85a48ce72af6cc /engines/sword1
parent1ef22b315fb01026b3ce87c6b2acaee797c513c9 (diff)
downloadscummvm-rg350-907bd7128dde715b35b8d93c26e6f6ebcae77c05.tar.gz
scummvm-rg350-907bd7128dde715b35b8d93c26e6f6ebcae77c05.tar.bz2
scummvm-rg350-907bd7128dde715b35b8d93c26e6f6ebcae77c05.zip
Fix for bug #1438822 (Targets are case sensitive)
svn-id: r21017
Diffstat (limited to 'engines/sword1')
-rw-r--r--engines/sword1/sword1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword1/sword1.cpp b/engines/sword1/sword1.cpp
index fb2c352523..426b85dea3 100644
--- a/engines/sword1/sword1.cpp
+++ b/engines/sword1/sword1.cpp
@@ -74,9 +74,9 @@ GameList Engine_SWORD1_gameIDList() {
}
GameSettings Engine_SWORD1_findGameID(const char *gameid) {
- if (0 == strcmp(gameid, sword1FullSettings.gameid))
+ if (0 == scumm_stricmp(gameid, sword1FullSettings.gameid))
return sword1FullSettings;
- if (0 == strcmp(gameid, sword1DemoSettings.gameid))
+ if (0 == scumm_stricmp(gameid, sword1DemoSettings.gameid))
return sword1DemoSettings;
GameSettings dummy = { 0, 0 };
return dummy;