diff --git a/gtk2_ardour/automation_region_view.cc b/gtk2_ardour/automation_region_view.cc index cd5014bac5..cc29d5fb44 100644 --- a/gtk2_ardour/automation_region_view.cc +++ b/gtk2_ardour/automation_region_view.cc @@ -202,7 +202,7 @@ AutomationRegionView::add_automation_event (GdkEvent *, timepos_t const & w, dou assert (mc); y = mc->user_double (); } else { - y = c->list()->eval (when_d); + y = c->list()->eval (when); } } diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index e2784caf25..e8a1270da0 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -627,7 +627,7 @@ public: void finished (GdkEvent *, bool); void aborted (bool); - void setup_pointer_sample_offset (); + void setup_pointer_offset (); bool allow_vertical_autoscroll () const { return false;