summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/midi_buffer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/midi_buffer.cc b/libs/ardour/midi_buffer.cc
index f62a3b4c39..7138d52589 100644
--- a/libs/ardour/midi_buffer.cc
+++ b/libs/ardour/midi_buffer.cc
@@ -318,7 +318,7 @@ MidiBuffer::merge_in_place(const MidiBuffer &other)
the event referenced by "us"
*/
- while (them != other.end() && (*them).time() <= (*us).time()) {
+ while (them != other.end() && (*them).time() < (*us).time()) {
if (src == -1) {
src = them.offset;
}