Subversion Repositories svn.mios32

Compare Revisions

Ignore whitespace Rev 2631 → Rev 2632

/trunk/apps/sequencers/midibox_seq_v4/core/seq_ui_edit.c
469,9 → 469,9
for(track=0; track<SEQ_CORE_NUM_TRACKS; ++track) {
if( SEQ_UI_IsSelectedTrack(track) ) {
u16 num_steps = SEQ_PAR_NumStepsGet(track);
u16 trg_step = (changed_step & ~(num_steps-1));
u16 first_step = seq_ui_options.ALL_FOR_STEP_VIEW_ONLY ? (ui_selected_step_view * 16) : 0;
u16 last_step = seq_ui_options.ALL_FOR_STEP_VIEW_ONLY ? (first_step + 15) : (num_steps-1);
u16 trg_step = (changed_step & ~(num_steps-1)) + first_step;
 
u16 par_step;
for(par_step=first_step; (par_step <= last_step) && (par_step < num_steps); ++par_step, ++trg_step) {