mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-24 06:07:29 +01:00
missing iterator advance
This commit is contained in:
parent
1374501727
commit
ec0be1310f
1 changed files with 3 additions and 1 deletions
|
|
@ -45,7 +45,9 @@ PolyItem::compute_bounding_box () const
|
|||
|
||||
bbox.x0 = bbox.x1 = i->x;
|
||||
bbox.y0 = bbox.y1 = i->y;
|
||||
|
||||
|
||||
++i;
|
||||
|
||||
while (i != _points.end()) {
|
||||
bbox.x0 = min (bbox.x0, i->x);
|
||||
bbox.y0 = min (bbox.y0, i->y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue