]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/tie-performer.cc (create_audio_elements): bugfix
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 26 Aug 2003 16:59:13 +0000 (16:59 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 26 Aug 2003 16:59:13 +0000 (16:59 +0000)
* lily/tie-performer.cc (class Tie_performer): patch for new ties.

* lily/beam-engraver.cc: move new-beam-event to beam-event

ChangeLog
lily/tie-performer.cc

index 25d67d2aca7b900ac34167fb316acd491d750ce2..fa7fab5cced4168fcf58fc8f8e5cb1f959773905 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
 2003-08-26  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
-       * 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.
index 2129c57a3de92fbec0489c4a69838d21995ae289..74dfcb8025ba3348fc8a249691c804ca1967e331 100644 (file)
@@ -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);