]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/time-signature-engraver.cc
* flower
[lilypond.git] / lily / time-signature-engraver.cc
index e217fd900378309cab19e337cba3c17a3533eab4..5dc4913a80de7d10b1b1e176369d3a96aa5f8490 100644 (file)
@@ -12,8 +12,8 @@
 #include "misc.hh"
 
 /**
-  generate time_signatures. 
-  */
+   generate time_signatures.
+*/
 class Time_signature_engraver : public Engraver
 {
   Item *time_signature_;
@@ -26,9 +26,8 @@ public:
   TRANSLATOR_DECLARATIONS (Time_signature_engraver);
 };
 
-
 Time_signature_engraver::Time_signature_engraver ()
-{ 
+{
   time_signature_ = 0;
   last_time_fraction_ = SCM_BOOL_F;
 }
@@ -51,15 +50,13 @@ Time_signature_engraver::process_music ()
            Todo: should make typecheck?
 
            OTOH, Tristan Keuris writes 8/20 in his Intermezzi.
-          */
+         */
          warning (_f ("Found strange time signature %d/%d.",
-                     den,
-                     scm_to_int (scm_car (fr))
-                     ));
+                      den,
+                      scm_to_int (scm_car (fr))));
        }
-  
-      
-      last_time_fraction_ = fr; 
+
+      last_time_fraction_ = fr;
       time_signature_ = make_item ("TimeSignature", SCM_EOL);
       time_signature_->set_property ("fraction", fr);
     }
@@ -70,12 +67,11 @@ Time_signature_engraver::stop_translation_timestep ()
 {
   time_signature_ = 0;
 }
 
 ADD_TRANSLATOR (Time_signature_engraver,
-/* descr */       "Create a TimeSignature whenever @code{timeSignatureFraction} changes",
-/* creats*/       "TimeSignature",
-/* accepts */     "",
-/* acks  */      "",
-/* reads */       "",
-/* write */       "");
+               /* descr */ "Create a TimeSignature whenever @code{timeSignatureFraction} changes",
+               /* creats*/ "TimeSignature",
+               /* accepts */ "",
+               /* acks  */ "",
+               /* reads */ "",
+               /* write */ "");