Merge pull request #560 from kiwix/fix_compilation_illustration

This commit is contained in:
Kelson 2021-06-19 13:15:44 +02:00 committed by GitHub
commit 8eabae6286
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -184,8 +184,7 @@ Entry Reader::getMainPage() const
bool Reader::getFavicon(string& content, string& mimeType) const
{
try {
auto entry = zimArchive->getFaviconEntry();
auto item = entry.getItem(true);
auto item = zimArchive->getIllustrationItem();
content = item.getData();
mimeType = item.getMimetype();
return true;