]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/pitch-squash-engraver.cc
*** empty log message ***
[lilypond.git] / lily / pitch-squash-engraver.cc
index ae1cc13bc787b2a3e3b557b2ceb3100742053c0b..e69c3a337f40ffe9372c468ac083ae07f7e4469e 100644 (file)
@@ -22,7 +22,7 @@ void
 Pitch_squash_engraver::acknowledge_grob (Grob_info i)
 {
   SCM newpos = get_property ("squashedPosition");
-  if (ly_number_p (newpos)
+  if (scm_is_number (newpos)
       && Note_head::has_interface (i.grob_))
     {
       i.grob_->set_property ("staff-position", newpos);
@@ -35,7 +35,7 @@ Pitch_squash_engraver::Pitch_squash_engraver ()
 {
 }
 
-ENTER_DESCRIPTION (Pitch_squash_engraver,
+ADD_TRANSLATOR (Pitch_squash_engraver,
 /* descr */       
                  "Set the vertical position of noteheads to "
                  "@code{squashedPosition}, if that "