diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-17 13:19:16 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-17 13:19:16 +0000 |
commit | 4ecb07aaee57e72aedb744f0cce885f418320e70 (patch) | |
tree | ba548f5fa7c686ada88138662ef2888b38f3dc55 /libs/ardour/ardour/location.h | |
parent | 53f162f9219a65d716a2523288b69d9469fb6cea (diff) |
fix up Location::first_location_(after|before) to do the right thing when marks + ranges are interleaved (functions renamed)
git-svn-id: svn://localhost/ardour2/branches/3.0@13869 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/location.h')
-rw-r--r-- | libs/ardour/ardour/location.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/location.h b/libs/ardour/ardour/location.h index 2b9c53e063..bb42df1b58 100644 --- a/libs/ardour/ardour/location.h +++ b/libs/ardour/ardour/location.h @@ -161,8 +161,8 @@ class Locations : public SessionHandleRef, public PBD::StatefulDestructible int set_current (Location *, bool want_lock = true); Location *current () const { return current_location; } - Location* first_location_before (framepos_t, bool include_special_ranges = false); - Location* first_location_after (framepos_t, bool include_special_ranges = false); + framepos_t first_mark_before (framepos_t, bool include_special_ranges = false); + framepos_t first_mark_after (framepos_t, bool include_special_ranges = false); void marks_either_side (framepos_t const, framepos_t &, framepos_t &) const; |