1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-30 02:50:05 +00:00

Added an assertion to help catch RTAS misuse.

This commit is contained in:
jules 2012-03-07 12:16:16 +00:00
parent 59ebf8a05d
commit e6f3788bc3

View file

@ -855,6 +855,9 @@ private:
void GetNameOfLength (char* name, int maxLength, OSType inControllerType) const
{
// Pro-tools expects all your parameters to have valid names!
jassert (juceFilter->getParameterName (index).isNotEmpty());
juceFilter->getParameterName (index).copyToUTF8 (name, maxLength);
}