diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index 873bec3307..fa1ea786be 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -178,7 +178,7 @@ Editor::tempo_map_changed (const PropertyChange& /*ignored*/) struct CurveComparator { bool operator() (TempoCurve const * a, TempoCurve const * b) { - return a->position() < b->position(); + return a->tempo().frame() < b->tempo().frame(); } };