style fixes

This commit is contained in:
jpirnay
2026-04-17 15:59:58 +02:00
parent 87b9d333f7
commit af018af03a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -293,7 +293,7 @@ void HomeActivity::loop() {
onSelectBook(recentBooks[selectorIndex].path);
} else {
const int menuIdx = selectorIndex - recentsCount;
if (menuIdx >= 0 && menuIdx < static_cast<int>(menuEntries.size())) {
if (menuIdx < static_cast<int>(menuEntries.size())) {
dispatchMenuAction(menuEntries[menuIdx].action);
}
}