mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-04 03:40:07 +00:00
Added a tooltip warning against using 4 segment version numbers for AU and AUv3 plug-ins
This commit is contained in:
parent
2b918c1495
commit
1d92f9c9d0
1 changed files with 3 additions and 2 deletions
|
|
@ -909,7 +909,8 @@ void Project::createPropertyEditors (PropertyListBuilder& props)
|
|||
"The name of the project.");
|
||||
|
||||
props.add (new TextPropertyComponent (versionValue, "Project Version", 16, false),
|
||||
"The project's version number, This should be in the format major.minor.point[.point]");
|
||||
"The project's version number. This should be in the format major.minor.point[.point] where you should omit the final "
|
||||
"(optional) [.point] if you are targetting AU and AUv3 plug-ins as they only support three number versions.");
|
||||
|
||||
props.add (new TextPropertyComponent (companyNameValue, "Company Name", 256, false),
|
||||
"Your company name, which will be added to the properties of the binary where possible");
|
||||
|
|
@ -1106,7 +1107,7 @@ int Project::getVersionAsHexInteger() const
|
|||
+ (segments[1].getIntValue() << 8)
|
||||
+ segments[2].getIntValue();
|
||||
|
||||
if (segments.size() >= 4)
|
||||
if (segments.size() > 3)
|
||||
value = (value << 8) + segments[3].getIntValue();
|
||||
|
||||
return value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue