]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/percent-repeat-item.cc
(stop_translation_timestep): set
[lilypond.git] / lily / percent-repeat-item.cc
index 8dad52aba35278ca3685808d62a62f1f221d100b..691ad5dbae328680d65f4e1dc4396d91b8522ba7 100644 (file)
@@ -3,12 +3,11 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2001--2005  Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 2001--2006  Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "percent-repeat-item.hh"
 
-#include <math.h>
 
 #include "lookup.hh"
 #include "font-interface.hh"
@@ -40,9 +39,7 @@ Percent_repeat_item_interface::x_percent (Grob *me, int count,
   Stencil s = brew_slash (me);
 
   for (int i = count; i--;)
-    {
-      m.add_at_edge (X_AXIS, RIGHT, s, -slash_neg_kern, 0);
-    }
+    m.add_at_edge (X_AXIS, RIGHT, s, -slash_neg_kern, 0);
   Stencil d1 = Font_interface::get_default_font (me)->find_by_name ("dots.dot");
   Stencil d2 = d1;
   d1.translate_axis (0.5, Y_AXIS);