Minor cleanup.

This commit is contained in:
Jonathan Moore Liles 2008-06-13 23:53:20 -05:00
parent 148b313b31
commit 25842b89a7
3 changed files with 6 additions and 0 deletions

View File

@ -484,6 +484,7 @@ event_list::insert_time ( tick_t start, tick_t l )
continue;
if ( ts >= start )
{
if ( e->is_note_on() )
{
/* only notes ENTIRELY WITHIN the range will be moved */
@ -492,6 +493,7 @@ event_list::insert_time ( tick_t start, tick_t l )
}
else
e->timestamp( e->timestamp() + l );
}
}
}

View File

@ -464,10 +464,12 @@ Grid::toggle_select ( int x, int y )
event *e = _event( x, y, true );
if ( e )
{
if ( e->selected() )
e->deselect();
else
e->select();
}
unlock();
}

View File

@ -180,10 +180,12 @@ main ( int argc, char **argv )
ASSERTION( "Could not initialize MIDI system! (is Jack running and with MIDI ports enabled?)" );
if ( ! transport.valid )
{
if ( transport.master )
ASSERTION( "The version of JACK you are using does not appear to be capable of passing BBT positional information." );
else
ASSERTION( "Either the version of JACK you are using does pass BBT information, or the current timebase master does not provide it." );
}
song.dirty( false );