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

Only moan about all-lowercase AU manufacturer codes

This commit is contained in:
hogliux 2016-10-27 09:52:42 +01:00
parent c4d36d15b1
commit 1845437fe1

View file

@ -1313,12 +1313,12 @@ public:
const String pluginManufacturerCode = owner.project.getPluginManufacturerCode().toString().trim().substring (0, 4);
const String pluginSubType = owner.project.getPluginCode() .toString().trim().substring (0, 4);
if (pluginManufacturerCode.toLowerCase() == pluginManufacturerCode || pluginSubType.toLowerCase() == pluginSubType)
if (pluginManufacturerCode.toLowerCase() == pluginManufacturerCode)
{
throw SaveError ("AudioUnit plugin code identifiers invalid!\n\n"
"You have used only lower case letters in your AU plugin code identifiers. "
"You must have at least one uppercase letter in both your AU plugin manufacturer "
"identifier code and your AU plugin subtype identifier code.");
"You have used only lower case letters in your AU plugin manufacturer identifier. "
"You must have at least one uppercase letter in your AU plugin manufacturer "
"identifier code.");
}
addPlistDictionaryKey (dict, "name", owner.project.getPluginManufacturer().toString()