[Scummvm-git-logs] scummvm master -> 7fc9afcf787ea23e65e3deb2584ac16013265d9a

bluegr noreply at scummvm.org
Mon Dec 18 09:51:41 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:
7fc9afcf78 COMMON: Fix listMatchingMembers not working properly with non-default path separator


Commit: 7fc9afcf787ea23e65e3deb2584ac16013265d9a
    https://github.com/scummvm/scummvm/commit/7fc9afcf787ea23e65e3deb2584ac16013265d9a
Author: elasota (1137273+elasota at users.noreply.github.com)
Date: 2023-12-18T11:51:37+02:00

Commit Message:
COMMON: Fix listMatchingMembers not working properly with non-default path separator

Changed paths:
    common/archive.cpp


diff --git a/common/archive.cpp b/common/archive.cpp
index 56f243b17e0..153d6fc4d3f 100644
--- a/common/archive.cpp
+++ b/common/archive.cpp
@@ -98,7 +98,7 @@ int Archive::listMatchingMembers(ArchiveMemberList &list, const Path &pattern, b
 	ArchiveMemberList allNames;
 	listMembers(allNames);
 
-	String patternString = pattern.toString();
+	String patternString = pattern.toString(getPathSeparator());
 	int matches = 0;
 
 	char pathSepString[2] = {getPathSeparator(), '\0'};




More information about the Scummvm-git-logs mailing list