mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
Allow absolute index to be used when all values has been used.
This commit is contained in:
@@ -350,7 +350,7 @@ void format(std::string& result, const std::string& fmt, const std::vector<Any>&
|
||||
{
|
||||
case '%':
|
||||
++itFmt;
|
||||
if (itFmt != endFmt && itVal != endVal)
|
||||
if (itFmt != endFmt && (itVal != endVal || *itFmt == '['))
|
||||
{
|
||||
if (*itFmt == '[')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user