Skip to content

Commit 881e240

Browse files
authored
Merge pull request #293 from openzim/mainpage
Correctly print the mainpage with zimdump.
2 parents 288dce5 + d14b6fd commit 881e240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zimdump.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ void ZimDumper::printInfo()
119119
}
120120

121121
if (m_archive.hasMainEntry()) {
122-
std::cout << "main page: " << m_archive.getMainEntry().getPath() << "\n";
122+
std::cout << "main page: " << m_archive.getMainEntry().getItem(true).getPath() << "\n";
123123
} else {
124124
std::cout << "main page: -\n";
125125
}

0 commit comments

Comments
 (0)