Move '++next' (when sorting marker labels) so there's absolutely no chance of increme...
authorJohn Emmas <johne53@tiscali.co.uk>
Sat, 15 Mar 2014 14:40:36 +0000 (14:40 +0000)
committerJohn Emmas <johne53@tiscali.co.uk>
Sat, 15 Mar 2014 14:40:36 +0000 (14:40 +0000)
gtk2_ardour/editor_markers.cc

index 3fefa6af9ac35f080a86970e719b9166d0467a23..1b937dad7d597b2ae84648b6bd3a12f8598fb68a 100644 (file)
@@ -360,11 +360,12 @@ Editor::update_marker_labels (ArdourCanvas::Group* group)
                        } else {
                                (*i)->set_right_label_limit (p);
                        }
+
+                       ++next;
                }
 
                prev = i;
                ++i;
-               ++next;
        }
 }