]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/font-size-engraver.cc
(find_create_context): assign to lvalue.
[lilypond.git] / lily / font-size-engraver.cc
index 9066bee1f6132c4f8f200d8d19beaaf7158cc83c..6c6bfa91d1bbc8d100f1fd119c752011cab8084b 100644 (file)
@@ -33,15 +33,15 @@ Font_size_engraver::acknowledge_grob (Grob_info gi)
   /*
     We only want to process a grob once.
    */
-  if (gi.origin_trans_->daddy_context_ != daddy_context_)
+  if (gi.origin_trans_->context () != context ())
     return ;
   
-  if (gh_number_p (sz) && gh_scm2double (sz))
+  if (ly_c_number_p (sz) && ly_scm2double (sz))
     {
-      Real font_size = gh_scm2double (sz);
+      Real font_size = ly_scm2double (sz);
       
       font_size +=  robust_scm2double (gi.grob_->get_property ("font-size"), 0);
-      gi.grob_->set_property ("font-size", gh_double2scm (font_size));
+      gi.grob_->set_property ("font-size", scm_make_real (font_size));
     }
 }