]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/slash-repeat-engraver.cc
* The grand 2005-2006 replace.
[lilypond.git] / lily / slash-repeat-engraver.cc
index 014843619a35612833e1e6039abf35e982d2d69f..9949e9f227ca62bb7d2c6d057be811639c5d5be7 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2000--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 2000--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "repeated-music.hh"
@@ -75,9 +75,7 @@ Slash_repeat_engraver::try_music (Music *m)
       Moment meas_length
        = robust_scm2moment (get_property ("measureLength"), Moment (0));
       if (body_length_ < meas_length)
-       {
-         repeat_ = m;
-       }
+       repeat_ = m;
       else
        return false;
 
@@ -107,13 +105,10 @@ void
 Slash_repeat_engraver::start_translation_timestep ()
 {
   if (stop_mom_ == now_mom ())
-    {
-      repeat_ = 0;
-    }
+    repeat_ = 0;
   beat_slash_ = 0;
 }
 
-
 #include "translator.icc"
 
 ADD_TRANSLATOR (Slash_repeat_engraver,