]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/custos-engraver.cc
* configure.in: Test for and accept lmodern if EC fonts not found.
[lilypond.git] / lily / custos-engraver.cc
index 080121da8b8bacf16f2c74d6aae1ffce40b0b2a5..fb6cc09c746f019a0ec5851eaab73db195e6d2c7 100644 (file)
@@ -13,7 +13,6 @@
 #include "note-head.hh"
 #include "staff-symbol-referencer.hh"
 #include "warn.hh"
-#include "event.hh"
 
 /*
  * This class implements an engraver for custos symbols.
@@ -104,7 +103,7 @@ Custos_engraver::process_acknowledged_grobs ()
 
          int p = pitches_[i].steps ();
          SCM c0 = get_property ("middleCPosition");
-         if (ly_c_number_p (c0))
+         if (scm_is_number (c0))
            p += scm_to_int (c0);