X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Fsequential-iterator.cc;h=6174c202f13ce37883218313f2bdf91a3d4167f1;hb=108cf0e8c08c8e15e2a800feb161cfad9057daa8;hp=0f9b4295495c87b979104646fec05772a36e2705;hpb=c4f9e3faa057fb8ed7875f1955d9f8592d6f20d4;p=lilypond.git diff --git a/lily/sequential-iterator.cc b/lily/sequential-iterator.cc index 0f9b429549..6174c202f1 100644 --- a/lily/sequential-iterator.cc +++ b/lily/sequential-iterator.cc @@ -123,9 +123,7 @@ Sequential_iterator::construct_children () } while (iter_ && !iter_->ok ()) - { - next_element (true); - } + next_element (true); last_mom_ = Moment (-1); here_mom_ = get_music ()->start_mom (); @@ -232,9 +230,7 @@ Sequential_iterator::pending_moment () const Grace_fixup *gf = get_grace_fixup (); if (gf && gf->length_ + iter_->music_start_mom () == cp) - { - return here_mom_ + gf->length_ + Moment (0, gf->grace_start_); - } + return here_mom_ + gf->length_ + Moment (0, gf->grace_start_); /* Fix-up a grace note at the start of the music.