13
0

Fix crash on coming out of record that I introduced a few commits ago.

git-svn-id: svn://localhost/ardour2/branches/3.0@8040 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-11-15 01:07:40 +00:00
parent a19e79f4f0
commit b21f4cab02

View File

@ -637,6 +637,8 @@ AudioStreamView::update_rec_regions (framepos_t start, framecnt_t cnt)
list<pair<boost::shared_ptr<Region>,RegionView*> >::iterator tmp = iter;
++tmp;
assert (n < rec_rects.size());
if (!canvas_item_visible (rec_rects[n].rectangle)) {
/* rect already hidden, this region is done */
@ -705,9 +707,9 @@ AudioStreamView::update_rec_regions (framepos_t start, framecnt_t cnt)
}
}
}
iter = tmp;
}
iter = tmp;
}
}