mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-09-23 20:25:55 -04:00
+ better computation of ZIM files sizes
This commit is contained in:
parent
cef66b20e1
commit
67211be8ad
@ -271,7 +271,8 @@ namespace kiwix {
|
|||||||
mediaCountStream << reader.getMediaCount();
|
mediaCountStream << reader.getMediaCount();
|
||||||
book.mediaCount = mediaCountStream.str();
|
book.mediaCount = mediaCountStream.str();
|
||||||
|
|
||||||
book.size = getFileSizeAsString(path);
|
ostringstream convert; convert << reader.getFileSize();
|
||||||
|
book.size = convert.str();
|
||||||
|
|
||||||
string favicon;
|
string favicon;
|
||||||
string faviconMimeType;
|
string faviconMimeType;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user