1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
This commit is contained in:
jules 2007-08-09 18:26:13 +00:00
parent b2515db681
commit 5a3abbfea4

View file

@ -145,7 +145,7 @@ void AudioSampleBuffer::setSize (const int newNumChannels,
const bool clearExtraSpace,
const bool avoidReallocating) throw()
{
jassert (numChannels > 0 && numChannels <= maxNumAudioSampleBufferChannels);
jassert (newNumChannels > 0 && newNumChannels <= maxNumAudioSampleBufferChannels);
if (newNumSamples != size || newNumChannels != numChannels)
{