Move '++next' (when sorting marker labels) so there's absolutely no chance of incrementing it once it reaches the list end

This commit is contained in:
John Emmas 2014-03-15 14:40:36 +00:00
parent f0e40565a5
commit 21c32d68ef

View File

@ -360,11 +360,12 @@ Editor::update_marker_labels (ArdourCanvas::Group* group)
} else {
(*i)->set_right_label_limit (p);
}
++next;
}
prev = i;
++i;
++next;
}
}