diff --git a/src/activities/reader/EpubReaderActivity.cpp b/src/activities/reader/EpubReaderActivity.cpp index d7f6eba9..661488d2 100644 --- a/src/activities/reader/EpubReaderActivity.cpp +++ b/src/activities/reader/EpubReaderActivity.cpp @@ -2155,8 +2155,8 @@ void EpubReaderActivity::renderContents(std::unique_ptr page, const int or } void EpubReaderActivity::renderPageContentOnly(const Page& page, const int orientedMarginTop, - const int orientedMarginRight, - const int orientedMarginBottom, const int orientedMarginLeft) { + const int orientedMarginRight, const int orientedMarginBottom, + const int orientedMarginLeft) { auto* fcm = renderer.getFontCacheManager(); fcm->resetStats(); @@ -2173,8 +2173,8 @@ void EpubReaderActivity::renderPageContentOnly(const Page& page, const int orien } void EpubReaderActivity::displayPreRenderedPage(const Page& page, const int orientedMarginTop, - const int orientedMarginRight, - const int orientedMarginBottom, const int orientedMarginLeft) { + const int orientedMarginRight, const int orientedMarginBottom, + const int orientedMarginLeft) { const int viewportHeight = std::max(0, renderer.getScreenHeight() - orientedMarginTop - orientedMarginBottom); const int contentTop = orientedMarginTop + getImageOnlyPageYOffset(page, viewportHeight); diff --git a/src/activities/reader/EpubReaderActivity.h b/src/activities/reader/EpubReaderActivity.h index d546bb8a..ddbdf5ce 100644 --- a/src/activities/reader/EpubReaderActivity.h +++ b/src/activities/reader/EpubReaderActivity.h @@ -259,8 +259,8 @@ class EpubReaderActivity final : public Activity { // Draws the status bar over the current frame buffer and flushes to the display. // Handles the refresh cycle and grayscale AA pass. page must be the same page // that was last rendered into the buffer (needed for image AA re-render). - void displayPreRenderedPage(const Page& page, int orientedMarginTop, int orientedMarginRight, int orientedMarginBottom, - int orientedMarginLeft); + void displayPreRenderedPage(const Page& page, int orientedMarginTop, int orientedMarginRight, + int orientedMarginBottom, int orientedMarginLeft); void renderStatusBar() const; void silentIndexNextChapterIfNeeded(uint16_t viewportWidth, uint16_t viewportHeight); void saveProgress(int spineIndex, int currentPage, int pageCount);