From 50fc9e0d0f478d15fcf8afa29f45e9fa847ca82f Mon Sep 17 00:00:00 2001 From: nick_m Date: Tue, 14 Feb 2017 00:16:52 +1100 Subject: fix 'snap to beat' havoc-causing misplaced bracket. - should fix 7234 --- libs/ardour/tempo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/tempo.cc') diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index 0c4e743af0..cd0904a050 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -3591,7 +3591,7 @@ TempoMap::exact_qn_at_frame_locked (const Metrics& metrics, const framepos_t& fr qn = floor (qn) + (floor (((qn - floor (qn)) * (double) sub_num) + 0.5) / sub_num); } else if (sub_num == 1) { /* the gui requested exact musical (BBT) beat */ - qn = pulse_at_beat_locked (metrics, (floor (beat_at_minute_locked (metrics, minute_at_frame (frame)) + 0.5)) * 4.0); + qn = pulse_at_beat_locked (metrics, (floor (beat_at_minute_locked (metrics, minute_at_frame (frame)) + 0.5))) * 4.0; } else if (sub_num == -1) { /* snap to bar */ Timecode::BBT_Time bbt = bbt_at_pulse_locked (metrics, qn / 4.0); -- cgit v1.2.3