mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-02 03:20:06 +00:00
Projucer: Fixed null-terminated string array bug
This commit is contained in:
parent
4c6b5f0a8b
commit
71ee795bbb
1 changed files with 4 additions and 3 deletions
|
|
@ -80,7 +80,7 @@ public:
|
|||
|
||||
props.add (new ChoicePropertyComponent (getIPPLibraryValue(), "Use IPP Library",
|
||||
StringArray (ippOptions, numElementsInArray (ippValues)),
|
||||
Array<var> (ippValues, numElementsInArray (ippValues))));
|
||||
Array<var> (ippValues, numElementsInArray (ippValues))));
|
||||
}
|
||||
|
||||
void addCppStandardProperty (PropertyListBuilder& props, const char** names, const var* values, int num)
|
||||
|
|
@ -92,10 +92,11 @@ public:
|
|||
void addWindowsTargetPlatformProperties (PropertyListBuilder& props)
|
||||
{
|
||||
static const char* targetPlatformNames[] = { "(default)", "8.1", "10.0.10240.0", "10.0.10586.0", "10.0.14393.0", "10.0.15063.0" };
|
||||
const var targetPlatforms[] = { var(), "8.1", "10.0.10240.0", "10.0.10586.0", "10.0.14393.0", "10.0.15063.0" };
|
||||
static const var targetPlatforms[] = { var(), "8.1", "10.0.10240.0", "10.0.10586.0", "10.0.14393.0", "10.0.15063.0" };
|
||||
|
||||
props.add (new ChoicePropertyComponent (getWindowsTargetPlatformVersionValue(), "Windows Target Platform",
|
||||
StringArray (targetPlatformNames), Array<var> (targetPlatforms, numElementsInArray (targetPlatforms))),
|
||||
StringArray (targetPlatformNames, numElementsInArray (targetPlatformNames)),
|
||||
Array<var> (targetPlatforms, numElementsInArray (targetPlatforms))),
|
||||
"Specifies the version of the Windows SDK that will be used when building this project. "
|
||||
"The default value for this exporter is " + getDefaultWindowsTargetPlatformVersion());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue