Browse Source

Minor cleanup.

tags/non-sequencer-v1.9.4
Jonathan Moore Liles 17 years ago
parent
commit
25842b89a7
3 changed files with 6 additions and 0 deletions
  1. +2
    -0
      src/event_list.C
  2. +2
    -0
      src/grid.C
  3. +2
    -0
      src/main.C

+ 2
- 0
src/event_list.C View File

@@ -484,6 +484,7 @@ event_list::insert_time ( tick_t start, tick_t l )
continue; continue;


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




+ 2
- 0
src/grid.C View File

@@ -464,10 +464,12 @@ Grid::toggle_select ( int x, int y )
event *e = _event( x, y, true ); event *e = _event( x, y, true );


if ( e ) if ( e )
{
if ( e->selected() ) if ( e->selected() )
e->deselect(); e->deselect();
else else
e->select(); e->select();
}


unlock(); unlock();
} }


+ 2
- 0
src/main.C 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?)" ); ASSERTION( "Could not initialize MIDI system! (is Jack running and with MIDI ports enabled?)" );


if ( ! transport.valid ) if ( ! transport.valid )
{
if ( transport.master ) if ( transport.master )
ASSERTION( "The version of JACK you are using does not appear to be capable of passing BBT positional information." ); ASSERTION( "The version of JACK you are using does not appear to be capable of passing BBT positional information." );
else else
ASSERTION( "Either the version of JACK you are using does pass BBT information, or the current timebase master does not provide it." ); 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 ); song.dirty( false );




Loading…
Cancel
Save