From 907bd7128dde715b35b8d93c26e6f6ebcae77c05 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 2 Mar 2006 22:29:01 +0000 Subject: Fix for bug #1438822 (Targets are case sensitive) svn-id: r21017 --- engines/scumm/plugin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/scumm') 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; -- cgit v1.2.3