projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82bce6c
)
fix thinko when relabelling markers
author
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 14 Mar 2014 17:43:51 +0000
(13:43 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 14 Mar 2014 17:46:30 +0000
(13:46 -0400)
gtk2_ardour/editor_markers.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_markers.cc
b/gtk2_ardour/editor_markers.cc
index 1302804cec2d31bce22e2203ec61b5318abcb8de..3fefa6af9ac35f080a86970e719b9166d0467a23 100644
(file)
--- a/
gtk2_ardour/editor_markers.cc
+++ b/
gtk2_ardour/editor_markers.cc
@@
-334,7
+334,10
@@
Editor::update_marker_labels (ArdourCanvas::Group* group)
list<Marker*>::iterator prev = sorted.end ();
list<Marker*>::iterator next = i;
- ++next;
+
+ if (next != sorted.end()) {
+ ++next;
+ }
while (i != sorted.end()) {