fix assignment of Region::_last_length in Region::set_length_internal()
this member is always supposed to give the previous length (before the most recent change to either extent or position)
This commit is contained in:
parent
decd6e6f70
commit
00a1b7cb24
@ -495,7 +495,7 @@ Region::set_length_internal (timecnt_t const & len)
|
||||
|
||||
l.set_position (position());
|
||||
|
||||
_last_length = l;
|
||||
_last_length = _length;
|
||||
_length = l;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user