diff options
-rw-r--r-- | runtime/zip_archive.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/zip_archive.cc b/runtime/zip_archive.cc index c02f310..63bfc44 100644 --- a/runtime/zip_archive.cc +++ b/runtime/zip_archive.cc @@ -123,7 +123,7 @@ ZipEntry* ZipArchive::Find(const char* name, std::string* error_msg) const { // Resist the urge to delete the space. <: is a bigraph sequence. std::unique_ptr< ::ZipEntry> zip_entry(new ::ZipEntry); - const int32_t error = FindEntry(handle_, name, zip_entry.get()); + const int32_t error = FindEntry(handle_, ZipEntryName(name), zip_entry.get()); if (error) { *error_msg = std::string(ErrorCodeString(error)); return nullptr; |