From 9115fb43bcd50c296d7f1334450efe0cbbf182e3 Mon Sep 17 00:00:00 2001 From: Jake Kenneally Date: Mon, 2 Feb 2026 23:02:29 -0500 Subject: [PATCH] remove unnecessary change --- lib/Epub/Epub/ParsedText.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Epub/Epub/ParsedText.cpp b/lib/Epub/Epub/ParsedText.cpp index b0475006..aca85581 100644 --- a/lib/Epub/Epub/ParsedText.cpp +++ b/lib/Epub/Epub/ParsedText.cpp @@ -98,8 +98,7 @@ std::vector ParsedText::calculateWordWidths(const GfxRenderer& rendere auto wordStylesIt = wordStyles.begin(); while (wordsIt != words.end()) { - uint16_t width = measureWordWidth(renderer, fontId, *wordsIt, *wordStylesIt); - wordWidths.push_back(width); + wordWidths.push_back(measureWordWidth(renderer, fontId, *wordsIt, *wordStylesIt)); std::advance(wordsIt, 1); std::advance(wordStylesIt, 1);