From d53f8caeb412b364b3d0a78ed4356a1136a4543b Mon Sep 17 00:00:00 2001 From: jpirnay Date: Mon, 23 Mar 2026 21:22:27 +0100 Subject: [PATCH] clangf --- src/RecentBooksStore.h | 1 - src/activities/boot_sleep/SleepActivity.cpp | 1 - src/activities/home/RecentBooksActivity.cpp | 5 +++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/RecentBooksStore.h b/src/RecentBooksStore.h index faca8d35..afc6c3de 100644 --- a/src/RecentBooksStore.h +++ b/src/RecentBooksStore.h @@ -3,7 +3,6 @@ #include #include - struct RecentBook { std::string path; std::string title; diff --git a/src/activities/boot_sleep/SleepActivity.cpp b/src/activities/boot_sleep/SleepActivity.cpp index ca445586..4820423d 100644 --- a/src/activities/boot_sleep/SleepActivity.cpp +++ b/src/activities/boot_sleep/SleepActivity.cpp @@ -20,7 +20,6 @@ #include "fontIds.h" #include "images/Logo120.h" - namespace { // Context passed through PNGdec's decode() user-pointer to the per-scanline draw callback. diff --git a/src/activities/home/RecentBooksActivity.cpp b/src/activities/home/RecentBooksActivity.cpp index 4627cc6c..ca7bea02 100644 --- a/src/activities/home/RecentBooksActivity.cpp +++ b/src/activities/home/RecentBooksActivity.cpp @@ -7,8 +7,8 @@ #include -#include "BookInfoActivity.h" #include "../util/ConfirmationActivity.h" +#include "BookInfoActivity.h" #include "MappedInputManager.h" #include "RecentBooksStore.h" #include "components/UITheme.h" @@ -59,7 +59,8 @@ void RecentBooksActivity::loop() { } // Left button: remove selected book from recent list - if (!recentBooks.empty() && selectorIndex < recentBooks.size() && mappedInput.wasReleased(MappedInputManager::Button::Left)) { + if (!recentBooks.empty() && selectorIndex < recentBooks.size() && + mappedInput.wasReleased(MappedInputManager::Button::Left)) { const std::string bookPath = recentBooks[selectorIndex].path; const std::string bookTitle = recentBooks[selectorIndex].title;