when calculating average slave/master delta, use absolute value.
[ardour.git] / gtk2_ardour / tempo_curve.cc
index 784473fa9a5387db87ce891bfd6938416ea20430..4d2ea31a46f6a9d939e577f2b0e4a9c99fcc2047 100644 (file)
@@ -82,7 +82,7 @@ TempoCurve::TempoCurve (PublicEditor& ed, ArdourCanvas::Container& parent, guint
                //group->Event.connect (sigc::bind (sigc::mem_fun (editor, &PublicEditor::canvas_marker_event), group, this));
        }
 
-       _group->Event.connect (sigc::bind (sigc::mem_fun (editor, &PublicEditor::canvas_tempo_curve_event), _curve, this));
+       group->Event.connect (sigc::bind (sigc::mem_fun (editor, &PublicEditor::canvas_tempo_curve_event), _curve, this));
 
 }
 
@@ -190,7 +190,7 @@ TempoCurve::show ()
 {
        _shown = true;
 
-        group->show ();
+       group->show ();
 }
 
 void