Source code formatting

This commit is contained in:
Jonas Diemer 2025-12-16 11:12:08 +01:00
parent 7016e2b0fb
commit 96a88493cd
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ void ParsedText::layoutAndExtractLines(const GfxRenderer& renderer, const int fo
// Calculate spacing
int spareSpace = pageWidth - lineWordWidthSum;
if (wordWidthIndex == 0) {
spareSpace -= indentWidth;
spareSpace -= indentWidth;
}
int spacing = spaceWidth;

View File

@ -20,7 +20,7 @@ class ParsedText {
public:
explicit ParsedText(const TextBlock::BLOCK_STYLE style, const bool extraParagraphSpacing)
: style(style), extraParagraphSpacing(extraParagraphSpacing) {}
: style(style), extraParagraphSpacing(extraParagraphSpacing) {}
~ParsedText() = default;
void addWord(std::string word, EpdFontStyle fontStyle);