From 8cbf24d12f289e75d333a6ad950b7587250069a1 Mon Sep 17 00:00:00 2001 From: Arthur Tazhitdinov Date: Wed, 7 Jan 2026 20:43:22 +0500 Subject: [PATCH] clang format fix --- lib/Epub/Epub/ParsedText.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Epub/Epub/ParsedText.cpp b/lib/Epub/Epub/ParsedText.cpp index 8c9802fe..8aed230d 100644 --- a/lib/Epub/Epub/ParsedText.cpp +++ b/lib/Epub/Epub/ParsedText.cpp @@ -179,7 +179,8 @@ std::vector ParsedText::computeHyphenatedLineBreaks(const GfxRenderer& r // Word would overflow — try to split based on hyphenation points const int availableWidth = pageWidth - lineWidth - spacing; - const bool allowFallbackBreaks = isFirstWord; // Permit fallback breaks only when first word one the line still overflows + const bool allowFallbackBreaks = + isFirstWord; // Permit fallback breaks only when first word one the line still overflows if (availableWidth > 0 && hyphenateWordAtIndex(currentIndex, availableWidth, renderer, fontId, wordWidths, allowFallbackBreaks)) { // Prefix now fits; append it to this line and immediately move to the next line