projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6304261
)
Fix mistake in error checking of audio clock BBT times (#4589)
author
Carl Hetherington
<carl@carlh.net>
Tue, 27 Dec 2011 02:15:28 +0000
(
02:15
+0000)
committer
Carl Hetherington
<carl@carlh.net>
Tue, 27 Dec 2011 02:15:28 +0000
(
02:15
+0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@11089
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/audio_clock.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/audio_clock.cc
b/gtk2_ardour/audio_clock.cc
index 7d37f9cea8c9fc2234ac2b8db89bd9c40bdee1a1..37ed13595a233a2bc50eb8db87d5962c39bc5e2e 100644
(file)
--- a/
gtk2_ardour/audio_clock.cc
+++ b/
gtk2_ardour/audio_clock.cc
@@
-1915,10
+1915,10
@@
AudioClock::frame_duration_from_bbt_string (framepos_t pos, const string& str) c
Timecode::BBT_Time bbt;
- if (sscanf (str.c_str(), BBT_SCANF_FORMAT, &bbt.bars, &bbt.beats, &bbt.ticks) !=
0
) {
+ 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);
}