mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Fix extraction regex
Accidentally removed this in the commit...
This commit is contained in:
@@ -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