]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tie-performer.cc
* The grand 2005-2006 replace.
[lilypond.git] / lily / tie-performer.cc
index bcbac27567cdfa089fa2fd6b53d6328114dacd16..24bc927a1409892ba6915d2c4aa6d554b618c809 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1998--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1998--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "performer.hh"
@@ -13,7 +13,6 @@
 #include "audio-item.hh"
 #include "pqueue.hh"
 
-
 class Tie_performer : public Performer
 {
   Music *event_;
@@ -44,9 +43,7 @@ bool
 Tie_performer::try_music (Music *mus)
 {
   if (mus->is_mus_type ("tie-event"))
-    {
-      event_ = mus;
-    }
+    event_ = mus;
 
   return true;
 }
@@ -73,7 +70,7 @@ Tie_performer::acknowledge_audio_element (Audio_element_info inf)
 
          if (right_mus && left_mus
              && ly_is_equal (right_mus->get_property ("pitch"),
-                              left_mus->get_property ("pitch")))
+                             left_mus->get_property ("pitch")))
            {
              an->tie_to (th);
              ties_created_ = true;
@@ -111,8 +108,8 @@ Tie_performer::stop_translation_timestep ()
 #include "translator.icc"
 
 ADD_TRANSLATOR (Tie_performer,
-               /* descr */ "Generate ties between noteheads of equal pitch.",
-               /* creats*/ "",
-               /* accepts */ "tie-event",
-               /* reads */ "tieMelismaBusy",
+               /* doc */ "Generate ties between noteheads of equal pitch.",
+               /* creat*/ "",
+               /* accept */ "tie-event",
+               /* read */ "tieMelismaBusy",
                /* write */ "");