fix from CI check

This commit is contained in:
Justin Mitchell 2026-01-02 20:11:15 -05:00
parent 231393703c
commit 1e0728abc6
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ class CrossPointSettings {
uint8_t paragraphAlignment = JUSTIFIED;
uint8_t sideMargin = MARGIN_SMALL;
// OPDS browser settings
char opdsServerUrl[128] = ""; // e.g., "https://home.jmitch.com/books"
char opdsServerUrl[128] = "";
~CrossPointSettings() = default;

View File

@ -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)
if (result.length() > 100) {
result = result.substr(0, 100);
result.resize(100);
}
return result.empty() ? "book" : result;