mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 07:37:37 +03:00
fix from CI check
This commit is contained in:
parent
231393703c
commit
1e0728abc6
@ -67,7 +67,7 @@ class CrossPointSettings {
|
|||||||
uint8_t paragraphAlignment = JUSTIFIED;
|
uint8_t paragraphAlignment = JUSTIFIED;
|
||||||
uint8_t sideMargin = MARGIN_SMALL;
|
uint8_t sideMargin = MARGIN_SMALL;
|
||||||
// OPDS browser settings
|
// OPDS browser settings
|
||||||
char opdsServerUrl[128] = ""; // e.g., "https://home.jmitch.com/books"
|
char opdsServerUrl[128] = "";
|
||||||
|
|
||||||
~CrossPointSettings() = default;
|
~CrossPointSettings() = default;
|
||||||
|
|
||||||
|
|||||||
@ -385,7 +385,7 @@ std::string OpdsBookBrowserActivity::sanitizeFilename(const std::string& title)
|
|||||||
|
|
||||||
// Limit filename length (SD card FAT32 has 255 char limit, but let's be safe)
|
// Limit filename length (SD card FAT32 has 255 char limit, but let's be safe)
|
||||||
if (result.length() > 100) {
|
if (result.length() > 100) {
|
||||||
result = result.substr(0, 100);
|
result.resize(100);
|
||||||
}
|
}
|
||||||
|
|
||||||
return result.empty() ? "book" : result;
|
return result.empty() ? "book" : result;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user