1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-24 01:54:22 +00:00

LV2 Client: Fix additional comma in generated manifest

This commit is contained in:
reuk 2023-10-09 11:53:44 +01:00
parent 04978b52dd
commit 1eed07528e
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -1083,12 +1083,14 @@ private:
for (const auto& string : param.getAllValueStrings())
{
const auto value = jmap ((float) counter++, 0.0f, (float) numSteps - 1.0f, min, max);
const auto value = jmap ((float) counter, 0.0f, (float) numSteps - 1.0f, min, max);
os << (counter != 0 ? ", " : "") << "[\n"
"\t\trdfs:label \"" << string << "\" ;\n"
"\t\trdf:value " << value << " ;\n"
"\t]";
++counter;
}
}