mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-12-06 03:07:19 +00:00
Fix extraction regex
Accidentally removed this in the commit...
This commit is contained in:
1 parent
c20261794e
commit
6679f01c13
1 file changed
+1
-1
@@ -50,7 +50,7 @@ Result getExtractedSize(const std::string &archivePath, const std::string &wante
|
||||
int size = archive_entry_size(entry);
|
||||
if (size > 0) { /* Ignore folders. */
|
||||
std::smatch match;
|
||||
std::string entryName();
|
||||
std::string entryName(archive_entry_pathname(entry));
|
||||
if (std::regex_search(entryName, match, std::regex(wantedFile))) {
|
||||
extractSize += size;
|
||||
extractFilesCount++;
|
||||
|
||||
Reference in new issue
Block a user