Fix measure line drawing.

pull/3/head
Jonathan Moore Liles 2008-05-14 14:20:11 -05:00
parent 558430847c
commit b5c5a01fd9
1 changed files with 5 additions and 3 deletions

View File

@ -444,14 +444,16 @@ Timeline::render_tempomap( nframes_t start, nframes_t length, measure_line_callb
++bbt.bar;
}
if ( f + frames_per_beat >= end )
goto done;
else if ( f >= start )
if ( f >= start )
{
/* in the zone */
if ( cb )
cb( f, bbt, arg );
}
if ( f + frames_per_beat >= end )
goto done;
}
}