fix up previous commit, which contained API from nutempo2 branch
This commit is contained in:
parent
eed07770e1
commit
2e25148136
@ -1506,11 +1506,11 @@ Editor::metric_get_bbt (std::vector<ArdourCanvas::Ruler::Mark>& marks, gdouble l
|
||||
// default:
|
||||
bbt_nmarks = bbt_bars + 2;
|
||||
for (n = 0, i = grid.begin(); i != grid.end() && n < bbt_nmarks; ++i) {
|
||||
if ((*i).bbt().is_bar()) {
|
||||
if ((*i).is_bar()) {
|
||||
snprintf (buf, sizeof(buf), "%" PRIu32, (*i).bbt().bars);
|
||||
mark.style = ArdourCanvas::Ruler::Mark::Major;
|
||||
mark.label = buf;
|
||||
mark.position = (*i).sample (sr);
|
||||
mark.position = (*i).sample;
|
||||
marks.push_back (mark);
|
||||
++n;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user