Fix handling end of archive
This commit is contained in:
@@ -109,7 +109,11 @@ namespace openVulkanoCpp
|
||||
{
|
||||
m_archiveEntry = nullptr;
|
||||
}
|
||||
if (result == ARCHIVE_EOF) m_eof = true;
|
||||
if (result == ARCHIVE_EOF)
|
||||
{
|
||||
m_archiveEntry = nullptr;
|
||||
m_eof = true;
|
||||
}
|
||||
}
|
||||
|
||||
size_t ArchiveReader::ExtractRemaining(std::string_view targetDir)
|
||||
|
||||
Reference in New Issue
Block a user