remove unnecessary change

This commit is contained in:
Jake Kenneally 2026-02-02 23:02:29 -05:00
parent 9609606615
commit 9115fb43bc

View File

@ -98,8 +98,7 @@ std::vector<uint16_t> ParsedText::calculateWordWidths(const GfxRenderer& rendere
auto wordStylesIt = wordStyles.begin(); auto wordStylesIt = wordStyles.begin();
while (wordsIt != words.end()) { while (wordsIt != words.end()) {
uint16_t width = measureWordWidth(renderer, fontId, *wordsIt, *wordStylesIt); wordWidths.push_back(measureWordWidth(renderer, fontId, *wordsIt, *wordStylesIt));
wordWidths.push_back(width);
std::advance(wordsIt, 1); std::advance(wordsIt, 1);
std::advance(wordStylesIt, 1); std::advance(wordStylesIt, 1);