summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_ops.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-05-27 01:44:58 +1000
committernick_m <mainsbridge@gmail.com>2016-05-27 23:38:17 +1000
commitbaf8f379677d6fea53d665aaff1945ccd896a6fe (patch)
treeb5016ae67469779c173b9d1e9a0d791a878d5e46 /gtk2_ardour/editor_ops.cc
parent8f3bc6f8099d7fc3bcc7f0dc88434afa0084e35f (diff)
Tempo ramps - rename meter_at() -> meter_at_frame() & make the ticker slightly more efficient.
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r--gtk2_ardour/editor_ops.cc2
1 files changed, 1 insertions, 1 deletions
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 */