Maybe fix crash.
git-svn-id: svn://localhost/ardour2/branches/3.0@5246 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7b010a94ae
commit
ef60a11af7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user