summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_clock.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-10-01 20:55:10 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-10-01 20:55:10 +0000
commita63d01e24a41b232612e6c272af3c6ecdae1a02b (patch)
treeb7d04908bcb3025cf0bcd7352f89b3eb322ebaea /gtk2_ardour/audio_clock.cc
parent02a98547f153b63ee17eab9c6bf6c71fc026652e (diff)
do not add in ticks in the "at" position when computing BBT duration somewhere on the timeline (fixes issues with nudging etc.
git-svn-id: svn://localhost/ardour2/branches/3.0@13201 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_clock.cc')
-rw-r--r--gtk2_ardour/audio_clock.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_clock.cc b/gtk2_ardour/audio_clock.cc
index fd8aca8df1..3a2bf0cee1 100644
--- a/gtk2_ardour/audio_clock.cc
+++ b/gtk2_ardour/audio_clock.cc
@@ -1914,7 +1914,7 @@ AudioClock::frame_duration_from_bbt_string (framepos_t pos, const string& str) c
if (sscanf (str.c_str(), BBT_SCANF_FORMAT, &bbt.bars, &bbt.beats, &bbt.ticks) != 3) {
return 0;
}
-
+
return _session->tempo_map().bbt_duration_at(pos,bbt,1);
}