]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/rest-engraver.cc
*** empty log message ***
[lilypond.git] / lily / rest-engraver.cc
index e3f379c0767d6111a814028ea21f35a6d0aebb57..04d63fae15433d0eb6eb80115d297cc50a5d6596 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #include "item.hh"
@@ -33,22 +33,22 @@ public:
  */
 Rest_engraver::Rest_engraver ()
 {
-  rest_req_ =0;
-  rest_ =0;
-  dot_ =0;
+  rest_req_ = 0;
+  rest_ = 0;
+  dot_ = 0;
 }
 
 void
 Rest_engraver::start_translation_timestep ()
 {
-  rest_req_ =0;
+  rest_req_ = 0;
 }
 
 void
 Rest_engraver::stop_translation_timestep ()
 {
-  rest_ =0;
-  dot_ =0;
+  rest_ = 0;
+  dot_ = 0;
 }
 
 void
@@ -63,7 +63,7 @@ Rest_engraver::process_music ()
       rest_->set_property ("duration-log",
                                  scm_int2num (durlog));
 
-      int dots =unsmob_duration (rest_req_->get_property ("duration"))->dot_count ();
+      int dots = unsmob_duration (rest_req_->get_property ("duration"))->dot_count ();
       
       if (dots)
        {
@@ -83,7 +83,7 @@ Rest_engraver::process_music ()
        */
       if (p)
        {
-         int pos= p->steps ();
+         int pos = p->steps ();
          SCM c0 = get_property ("middleCPosition");
          if (scm_is_number (c0))
            pos += scm_to_int (c0);
@@ -105,7 +105,7 @@ Rest_engraver::try_music (Music *m)
   return false;
 }
 
-ENTER_DESCRIPTION (Rest_engraver,
+ADD_TRANSLATOR (Rest_engraver,
 /* descr */       "",
 /* creats*/       "Rest Dots",
 /* accepts */     "rest-event",