Changeset 892

Show
Ignore:
Timestamp:
08/09/07 02:52:44 (1 year ago)
Author:
timdewhirst
Message:

jahwidgets
- ensure in point cannot go beyond out point

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jahwidgets/src/qt3/widgets/timelineSlider.cpp

    r891 r892  
    154154        int inClamp( int i ) const 
    155155        { 
    156                 i = std::max( std::min( i, activeRange->out ), min ); 
     156                i = std::max( std::min( i, activeRange->out-1 ), min ); 
    157157 
    158158                // And clamp above neighbouring out point