Oops. Fix bug introduced in mapping note exclusion commit

that resulted in all non-note events being dropped.
This commit is contained in:
Jonathan Moore Liles 2008-02-15 00:10:28 -06:00
parent 5cb724cecc
commit 6765c3faea
1 changed files with 2 additions and 0 deletions

View File

@ -459,8 +459,10 @@ try_again:
} }
else else
if ( me.is_note_off() ) if ( me.is_note_off() )
{
if ( mapping.translate( &me ) ) if ( mapping.translate( &me ) )
midi_output_event( _port, &me, 0 ); midi_output_event( _port, &me, 0 );
}
else else
/* any other event type */ /* any other event type */
midi_output_event( _port, &me ); midi_output_event( _port, &me );