VeSTige: adapt rename of MidiMaxKey constant

This commit is contained in:
Tobias Doerffel
2014-02-18 20:24:36 +01:00
parent ed56bdc47d
commit 71103a71ba

View File

@@ -776,7 +776,7 @@ void VestigeInstrumentView::noteOffAll( void )
m_vi->m_pluginMutex.lock();
if( m_vi->m_plugin != NULL )
{
for( int key = 0; key <= MidiMaxNote; ++key )
for( int key = 0; key <= MidiMaxKey; ++key )
{
m_vi->m_plugin->processMidiEvent( MidiEvent( MidiNoteOff, 0, key, 0 ), 0 );
}