X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gtk2_ardour%2Feditor_ops.cc;h=47f2e8cec75cd671d1a43f5164d2ed8787f5fa15;hb=baf8f379677d6fea53d665aaff1945ccd896a6fe;hp=2038c40860f81ac5d695f7cd5a9416a3f27a0ee7;hpb=8f3bc6f8099d7fc3bcc7f0dc88434afa0084e35f;p=ardour.git diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 2038c40860..47f2e8cec7 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -6476,7 +6476,7 @@ Editor::define_one_bar (framepos_t start, framepos_t end) { framepos_t length = end - start; - const Meter& m (_session->tempo_map().meter_at (start)); + const Meter& m (_session->tempo_map().meter_at_frame (start)); /* length = 1 bar */