r338@gandalf: fugalh | 2006-08-12 16:30:19 -0600
Oops, forgot one git-svn-id: svn://localhost/ardour2/branches/undo@813 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
0cde6a54ed
commit
e0d1b7cb4b
@ -834,3 +834,14 @@ Locations::num_range_markers () const
|
||||
}
|
||||
return cnt;
|
||||
}
|
||||
|
||||
Location *
|
||||
Locations::get_location_by_id(PBD::ID id)
|
||||
{
|
||||
LocationList::iterator it;
|
||||
for (it = locations.begin(); it != locations.end(); it++)
|
||||
if (id == (*it)->id())
|
||||
return *it;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user