mirror of https://github.com/kiwix/libkiwix.git
Correctly store the size of the book in the library.
`reader.getFileSize()` return ko.
This commit is contained in:
parent
a1876e3b27
commit
a22f962722
|
@ -87,7 +87,7 @@ void Book::update(const kiwix::Reader& reader)
|
|||
m_origId = reader.getOrigId();
|
||||
m_articleCount = reader.getArticleCount();
|
||||
m_mediaCount = reader.getMediaCount();
|
||||
m_size = reader.getFileSize();
|
||||
m_size = reader.getFileSize() << 10;
|
||||
|
||||
reader.getFavicon(m_favicon, m_faviconMimeType);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue