]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lyric-hyphen.cc
Uniformize, internalize.
[lilypond.git] / lily / lyric-hyphen.cc
index 62bcce8a54be2ffec01f8c8101281ae32dcfefe5..f98d5c446f84ead7e25d9ac8429a4bf7447f559c 100644 (file)
@@ -3,19 +3,19 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2003--2004 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2003--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "lyric-hyphen.hh"
 
-#include <cmath>
+#include <math.h>
 
 #include "lookup.hh"
 #include "output-def.hh"
 #include "paper-column.hh"
 #include "moment.hh"
 
-MAKE_SCHEME_CALLBACK (Hyphen_spanner,print,1)
+MAKE_SCHEME_CALLBACK (Hyphen_spanner, print, 1)
 SCM 
 Hyphen_spanner::print (SCM smob)
 {
@@ -70,7 +70,7 @@ Hyphen_spanner::print (SCM smob)
 
   space_left = space_left >? 0.0;
   
-  Box b (Interval (0, dl), Interval (h,h+th));
+  Box b (Interval (0, dl), Interval (h, h+th));
   Stencil dash_mol (Lookup::round_filled_box (b, 0.8 * lt));
 
   Stencil total;
@@ -86,7 +86,7 @@ Hyphen_spanner::print (SCM smob)
 }
 
 
-MAKE_SCHEME_CALLBACK (Hyphen_spanner,set_spacing_rods,1);
+MAKE_SCHEME_CALLBACK (Hyphen_spanner, set_spacing_rods, 1);
 SCM
 Hyphen_spanner::set_spacing_rods (SCM smob)
 {
@@ -97,7 +97,7 @@ Hyphen_spanner::set_spacing_rods (SCM smob)
   r.distance_ =
     robust_scm2double (me->get_property ("minimum-length"), 0);
 
-  Direction d=LEFT;
+  Direction d = LEFT;
   do
     {
       r.item_l_drul_[d] = sp->get_bound (d);