]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/font-size-engraver.cc
(try_music): add moments for
[lilypond.git] / lily / font-size-engraver.cc
index 96846d0d181fa9597156a4d01c9ab1079a74b81d..6c6bfa91d1bbc8d100f1fd119c752011cab8084b 100644 (file)
@@ -33,10 +33,10 @@ Font_size_engraver::acknowledge_grob (Grob_info gi)
   /*
     We only want to process a grob once.
    */
-  if (gi.origin_trans_->get_parent_context () != get_parent_context ())
+  if (gi.origin_trans_->context () != context ())
     return ;
   
-  if (is_number (sz) && ly_scm2double (sz))
+  if (ly_c_number_p (sz) && ly_scm2double (sz))
     {
       Real font_size = ly_scm2double (sz);