mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix
This commit is contained in:
parent
9279b8385e
commit
dae7d10a74
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ std::unique_ptr<std::istream> ZipFileDevice::read(std::string_view path) {
|
|||
size_t ZipFileDevice::size(std::string_view path) {
|
||||
const auto& found = entries.find(std::string(path));
|
||||
if (found == entries.end()) {
|
||||
return false;
|
||||
return 0;
|
||||
}
|
||||
return found->second.uncompressedSize;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue