[Scummvm-git-logs] scummvm master -> ec2066e352de78d303e8e9ee95d3a2696154d999

elasota noreply at scummvm.org
Fri Dec 15 22:14:22 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
ec2066e352 MTROPOLIS: Use getPathInArchive instead of getName


Commit: ec2066e352de78d303e8e9ee95d3a2696154d999
    https://github.com/scummvm/scummvm/commit/ec2066e352de78d303e8e9ee95d3a2696154d999
Author: elasota (1137273+elasota at users.noreply.github.com)
Date: 2023-12-15T17:14:09-05:00

Commit Message:
MTROPOLIS: Use getPathInArchive instead of getName

Changed paths:
    engines/mtropolis/vfs.cpp


diff --git a/engines/mtropolis/vfs.cpp b/engines/mtropolis/vfs.cpp
index e612af55bc8..c2659183e02 100644
--- a/engines/mtropolis/vfs.cpp
+++ b/engines/mtropolis/vfs.cpp
@@ -171,7 +171,7 @@ int VirtualFileSystem::listMatchingMembers(Common::ArchiveMemberList &list, cons
 
 	Common::ArchiveMemberList::const_iterator it = allNames.begin();
 	for (; it != allNames.end(); ++it) {
-		if ((*it)->getName().matchString(patternString, true, wildcardExclusions)) {
+		if ((*it)->getPathInArchive().toString(_pathSeparator).matchString(patternString, true, wildcardExclusions)) {
 			list.push_back(*it);
 			matches++;
 		}




More information about the Scummvm-git-logs mailing list