Fix name of cover bmp.

This commit is contained in:
Jonas Diemer 2026-01-21 17:01:27 +01:00
parent 3ce11f14ce
commit 77827efe92

View File

@ -359,7 +359,7 @@ const std::string& Epub::getLanguage() const {
} }
std::string Epub::getCoverBmpPath(bool cropped) 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"; return cachePath + "/" + coverFileName + ".bmp";
} }