Fixed name of cropped cover bmp, clarified comment.
This commit is contained in:
@@ -349,7 +349,7 @@ const std::string& Epub::getAuthor() const {
|
||||
}
|
||||
|
||||
std::string Epub::getCoverBmpPath(bool cropped) const {
|
||||
const auto coverFileName = "cover" + cropped ? "_crop" : "";
|
||||
const auto coverFileName = std::string("cover") + (cropped ? "_crop" : "");
|
||||
return cachePath + "/" + coverFileName + ".bmp";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user