custom theme: fix libziparchive loading of custom themes

Change-Id: Ia23a9dcd24fcbb61cb5e1df366a4325d20d777b2
This commit is contained in:
bigbiff
2021-10-13 19:24:42 -04:00
parent 850fa28798
commit 83298f5375
4 changed files with 11 additions and 15 deletions
+2 -1
View File
@@ -54,9 +54,10 @@ bool ExtractPackageRecursive(ZipArchiveHandle zip, const std::string& zip_path,
if (!zip_path.empty() && zip_path.back() != '/') {
prefix_path += '/';
}
const std::string zip_prefix(prefix_path.c_str());
const std::string zip_prefix(prefix_path.c_str());
int ret = StartIteration(zip, &cookie, zip_prefix, nullptr);
if (ret != 0) {
LOG(ERROR) << "failed to start iterating zip entries.";
return false;