Skip to content

Commit

Permalink
Merge pull request #293 from openzim/mainpage
Browse files Browse the repository at this point in the history
Correctly print the mainpage with zimdump.
  • Loading branch information
kelson42 authored Mar 16, 2022
2 parents 288dce5 + d14b6fd commit 881e240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zimdump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void ZimDumper::printInfo()
}

if (m_archive.hasMainEntry()) {
std::cout << "main page: " << m_archive.getMainEntry().getPath() << "\n";
std::cout << "main page: " << m_archive.getMainEntry().getItem(true).getPath() << "\n";
} else {
std::cout << "main page: -\n";
}
Expand Down

0 comments on commit 881e240

Please sign in to comment.