Minor cleanup.

This commit is contained in:
Jonathan Moore Liles 2008-05-18 21:01:59 -05:00
parent d40bc52a5a
commit 06de784661
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ Sequence::event_widget ( void )
void
Sequence::select_range ( int X, int W )
{
nframes_t sts = timeline->xoffset + timeline->x_to_ts( X - x() );
nframes_t sts = x_to_offset( X );
nframes_t ets = sts + timeline->x_to_ts( W );
for ( list <Sequence_Widget *>::const_reverse_iterator r = _widgets.rbegin(); r != _widgets.rend(); r++ )