Util: Pass string width,align,fill option to Format::Builder

This commit is contained in:
Riyyi
2022-08-03 14:05:34 +02:00
parent 6209251ca6
commit 1b7a736be2
5 changed files with 49 additions and 12 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ void Parser::parseSpecifier(Specifier& specifier, SpecifierType type)
// We parse until after the closing '}', so take this into account
widthEnd = tell() - 1;
}
specifier.width = static_cast<int>(stringToNumber(m_input.substr(widthBegin, widthEnd - widthBegin)));
specifier.width = stringToNumber(m_input.substr(widthBegin, widthEnd - widthBegin));
}
if (precisionBegin != std::numeric_limits<size_t>::max()) {