diff options
author | Paul Gilbert | 2012-10-10 20:42:25 +1100 |
---|---|---|
committer | Paul Gilbert | 2012-10-10 20:42:25 +1100 |
commit | 02df605f797a4d553d594cb77014bf3ed5950e26 (patch) | |
tree | 9a40c73a47736051985a8b4fc884b9b31b72d340 /engines/hopkins/files.cpp | |
parent | 22204ecc66e5da0f3432cc4f6c8748d9d3e3ee34 (diff) | |
download | scummvm-rg350-02df605f797a4d553d594cb77014bf3ed5950e26.tar.gz scummvm-rg350-02df605f797a4d553d594cb77014bf3ed5950e26.tar.bz2 scummvm-rg350-02df605f797a4d553d594cb77014bf3ed5950e26.zip |
HOPKINS: Fix for filename case comparisons in LIBERE_FICHIER
Diffstat (limited to 'engines/hopkins/files.cpp')
-rw-r--r-- | engines/hopkins/files.cpp | 2 |
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); |