13
0

fix up previous commit, which contained API from nutempo2 branch

This commit is contained in:
Paul Davis 2021-01-22 10:49:55 -07:00
parent eed07770e1
commit 2e25148136

View File

@ -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;
}