X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpercent-repeat-iterator.cc;h=27481cf1ab1b3335fc469989f7723a4d1a0a2be9;hb=334e70b9574054547298b6456696ea8b0b443604;hp=7ba527da5d9aef489d8986046ca658c90810afc9;hpb=61d777e8be678f7991d782791f6f39db5a489e5f;p=lilypond.git diff --git a/lily/percent-repeat-iterator.cc b/lily/percent-repeat-iterator.cc index 7ba527da5d..27481cf1ab 100644 --- a/lily/percent-repeat-iterator.cc +++ b/lily/percent-repeat-iterator.cc @@ -34,7 +34,7 @@ Percent_repeat_iterator::get_music_list () const percent->set_spot (*mus->origin ()); percent->set_property ("length", length); if (repeats > 1) - percent->set_property ("repeat-count", scm_int2num (i - 1)); + percent->set_property ("repeat-count", scm_int2num (i)); child_list = scm_cons (percent->unprotect (), child_list); } child_list = scm_cons (child->self_scm (), child_list);