From 8bfa5f1da2d84fafdda88aac0cdd5e17ebfbc100 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 8 Mar 2014 08:25:46 -0500 Subject: MADS: Make resource file access case insensitive --- engines/mads/resources.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/mads/resources.cpp b/engines/mads/resources.cpp index 5e490c2719..f85d5ce340 100644 --- a/engines/mads/resources.cpp +++ b/engines/mads/resources.cpp @@ -199,7 +199,7 @@ bool HagArchive::getHeaderEntry(const Common::String &resourceName, Common::List::iterator ei; for (ei = hagIndex._entries.begin(); ei != hagIndex._entries.end(); ++ei) { hagEntry = *ei; - if (hagEntry._resourceName == resName) + if (hagEntry._resourceName.compareToIgnoreCase(resName) == 0) return true; } } -- cgit v1.2.3