From 608bc0e596710a97e290d97398081f51aa608dea Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Tue, 26 Aug 2003 16:59:13 +0000 Subject: [PATCH] * lily/tie-performer.cc (create_audio_elements): bugfix * lily/tie-performer.cc (class Tie_performer): patch for new ties. * lily/beam-engraver.cc: move new-beam-event to beam-event --- ChangeLog | 4 +++- lily/tie-performer.cc | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 25d67d2aca..fa7fab5cce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ 2003-08-26 Han-Wen Nienhuys - * Documentation/user/music-glossary.tely (Top): uncomment + * lily/tie-performer.cc (create_audio_elements): bugfix + + * Documentation/user/music-glossary.tely (Top): comment out font-style statements. * input/test/force-hshift.ly: revise example. diff --git a/lily/tie-performer.cc b/lily/tie-performer.cc index 2129c57a3d..74dfcb8025 100644 --- a/lily/tie-performer.cc +++ b/lily/tie-performer.cc @@ -131,6 +131,7 @@ Tie_performer::create_audio_elements () announce_element (Audio_element_info (p, event_)); tied_notes_.del (i); + break ; } } } @@ -161,7 +162,7 @@ Tie_performer::stop_translation_timestep () event_ = 0; now_notes_ .clear (); - for (int i=0; i< ties_.size (); i++) + for (int i=ties_.size (); i--;) { ties_[i]->note_drul_[RIGHT]->tie_to (ties_[i]->note_drul_[LEFT]); } @@ -175,8 +176,7 @@ Tie_performer::start_translation_timestep () event_ =0; done_ = false; Moment now = now_mom (); - for (int i= tied_notes_.size (); - i -- ;) + for (int i= tied_notes_.size (); i-- ;) { if (tied_notes_[i].end_ < now) tied_notes_.del (i); -- 2.39.2