summaryrefslogtreecommitdiff
path: root/libs/evoral
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-01-29 19:36:01 +0000
committerCarl Hetherington <carl@carlh.net>2011-01-29 19:36:01 +0000
commit64e43bf4b16416fd4c6818757ca51e0a790d45a7 (patch)
treea03a9b60da4a67feab831656e1fb6ae20e26d248 /libs/evoral
parent5b5c576286d71db973c862fe7a2d81ae77219861 (diff)
Fix crash with debug enabled.
git-svn-id: svn://localhost/ardour2/branches/3.0@8613 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral')
-rw-r--r--libs/evoral/src/Sequence.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/evoral/src/Sequence.cpp b/libs/evoral/src/Sequence.cpp
index 78c04a6759..f1acdff013 100644
--- a/libs/evoral/src/Sequence.cpp
+++ b/libs/evoral/src/Sequence.cpp
@@ -743,7 +743,7 @@ Sequence<Time>::remove_note_unlocked(const constNotePtr note)
++tmp;
if (*j == note) {
- DEBUG_TRACE (DEBUG::Sequence, string_compose ("%1\terasing pitch %2 @ %3\n", this, (int)(*i)->note(), (*i)->time()));
+ DEBUG_TRACE (DEBUG::Sequence, string_compose ("%1\terasing pitch %2 @ %3\n", this, (int)(*j)->note(), (*j)->time()));
p.erase (j);
}