]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/breathing-sign.cc
Merge branch 'jneeman' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond into jneeman
[lilypond.git] / lily / breathing-sign.cc
index f39e748fb54f72e91edff6e418dd3a93621516b5..d0acbcea05e6f29a8bcb95c7b2a682b5d12ad3c4 100644 (file)
@@ -20,6 +20,7 @@
 #include "direction.hh"
 #include "text-interface.hh"
 #include "font-interface.hh"
+#include "grob.hh"
 
 /*
   TODO: thickness should be a grob property (unit: linethickness)
@@ -173,11 +174,14 @@ Breathing_sign::offset_callback (SCM smob)
       set_grob_direction (me, d);
     }
 
-  Real inter_f = Staff_symbol_referencer::staff_space (me) / 2;
+  Real inter = Staff_symbol_referencer::staff_space (me) / 2;
   int sz = Staff_symbol_referencer::line_count (me) - 1;
-  return scm_from_double (inter_f * sz * d);
+  return scm_from_double (inter * sz * d);
 }
 
-ADD_INTERFACE (Breathing_sign, "breathing-sign-interface",
+ADD_INTERFACE (Breathing_sign,
               "A breathing sign.",
-              "direction");
+              
+              "direction "
+
+              );