]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/dots.cc
Added texidoc template.
[lilypond.git] / lily / dots.cc
index d324027a1ab123573fe55d6d11777fda721ba388..ba33b5ff537be97439fbdd5fb4ec5e969926586b 100644 (file)
@@ -9,7 +9,7 @@
 #include "dots.hh"
 #include "item.hh"
 #include "stencil.hh"
-#include "paper-def.hh"
+#include "output-def.hh"
 #include "font-interface.hh"
 #include "lookup.hh"
 #include "staff-symbol-referencer.hh"
@@ -24,7 +24,7 @@ Dots::print (SCM d)
   
   SCM c = sc->get_property ("dot-count");
 
-  if (ly_c_number_p (c))
+  if (scm_is_number (c))
     {
       Stencil d = Font_interface::get_default_font (sc)->find_by_name (String ("dots-dot"));
       Real dw = d.extent (X_AXIS).length ();
@@ -40,7 +40,7 @@ Dots::print (SCM d)
       mol = Lookup::blank (Box (Interval (0,0),
                                Interval (0,0)));
   
-      for (int i = ly_scm2int (c); i--;)
+      for (int i = scm_to_int (c); i--;)
        {
          d.translate_axis (2*dw,X_AXIS);
          mol.add_at_edge (X_AXIS, RIGHT, d, dw, 0);