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:
@@ -495,7 +495,7 @@ Region::set_length_internal (timecnt_t const & len)
|
|||||||
|
|
||||||
l.set_position (position());
|
l.set_position (position());
|
||||||
|
|
||||||
_last_length = l;
|
_last_length = _length;
|
||||||
_length = l;
|
_length = l;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user