aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2012-10-10 20:42:25 +1100
committerPaul Gilbert2012-10-10 20:42:25 +1100
commit02df605f797a4d553d594cb77014bf3ed5950e26 (patch)
tree9a40c73a47736051985a8b4fc884b9b31b72d340
parent22204ecc66e5da0f3432cc4f6c8748d9d3e3ee34 (diff)
downloadscummvm-rg350-02df605f797a4d553d594cb77014bf3ed5950e26.tar.gz
scummvm-rg350-02df605f797a4d553d594cb77014bf3ed5950e26.tar.bz2
scummvm-rg350-02df605f797a4d553d594cb77014bf3ed5950e26.zip
HOPKINS: Fix for filename case comparisons in LIBERE_FICHIER
-rw-r--r--engines/hopkins/files.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/files.cpp b/engines/hopkins/files.cpp
index fec9d859ef..87c1490ea2 100644
--- a/engines/hopkins/files.cpp
+++ b/engines/hopkins/files.cpp
@@ -305,7 +305,7 @@ byte *FileManager::RECHERCHE_CAT(const Common::String &file, int a2) {
do {
Common::String name = (const char *)ptr + offsetVal;
- if (name == file) {
+ if (name == filename) {
// Found entry for file, so get it's details from the catalogue entry
const byte *pData = ptr + offsetVal;
_vm->_globals.CAT_POSI = READ_LE_UINT32(pData + 15);