13
0

Maybe fix crash.

git-svn-id: svn://localhost/ardour2/branches/3.0@5246 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-06-22 21:04:52 +00:00
parent 7b010a94ae
commit ef60a11af7

View File

@ -205,6 +205,8 @@ GroupTabs::render (cairo_t* cr)
GroupTabs::Tab *
GroupTabs::click_to_tab (double c, Tab** prev, Tab** next)
{
*prev = 0;
list<Tab>::iterator i = _tabs.begin ();
while (i != _tabs.end() && (c < i->from || c > i->to)) {
*prev = &(*i);