Quote also the first entry of list

Relates to #576

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
Thomas Lauf 2023-12-17 11:24:01 +01:00
parent a347ed1f1a
commit f0b89239a7

View file

@ -108,7 +108,7 @@ std::string joinQuotedIfNeeded (const std::string& glue, const Container& contai
auto iterator = container.begin (); auto iterator = container.begin ();
std::string value = *iterator++; std::string value = quoteIfNeeded (*iterator++);
while (iterator != container.end ()) while (iterator != container.end ())
{ {