diff options
author | Max Horn | 2006-03-02 22:29:01 +0000 |
---|---|---|
committer | Max Horn | 2006-03-02 22:29:01 +0000 |
commit | 907bd7128dde715b35b8d93c26e6f6ebcae77c05 (patch) | |
tree | 59f222395f9e11f0f058b0d1bc85a48ce72af6cc /engines/scumm | |
parent | 1ef22b315fb01026b3ce87c6b2acaee797c513c9 (diff) | |
download | scummvm-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/scumm')
-rw-r--r-- | engines/scumm/plugin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/plugin.cpp b/engines/scumm/plugin.cpp index d70282d010..29001560fc 100644 --- a/engines/scumm/plugin.cpp +++ b/engines/scumm/plugin.cpp @@ -853,7 +853,7 @@ static const ScummGameSettings multiple_versions_md5_settings[] = { static const char *findDescriptionFromGameID(const char *gameid) { const GameSettings *g = gameDescriptions; while (g->gameid) { - if (!strcmp(g->gameid, gameid)) { + if (!scumm_stricmp(g->gameid, gameid)) { return g->description; } g++; @@ -892,7 +892,7 @@ GameSettings Engine_SCUMM_findGameID(const char *gameid) { // First search the list of supported game IDs. const GameSettings *g = gameDescriptions; while (g->gameid) { - if (0 == strcmp(gameid, g->gameid)) + if (0 == scumm_stricmp(gameid, g->gameid)) return *g; g++; } @@ -902,7 +902,7 @@ GameSettings Engine_SCUMM_findGameID(const char *gameid) { GameSettings gs = { 0, 0 }; const ObsoleteGameID *o = obsoleteGameIDsTable; while (o->from) { - if (0 == strcmp(gameid, o->from)) { + if (0 == scumm_stricmp(gameid, o->from)) { gs.gameid = gameid; gs.gameid = "Obsolete game ID"; return gs; |