X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fsustain-pedal.cc;h=f57ba09a9eb8568bbcc48898a7805cb448d2a11b;hb=9458fa215af0294e9c38d62cc3a237a85fe50509;hp=c2cad1be294fdb8d507960a84f2444addf925f1c;hpb=402045837e7134cdf90d1fcf31768c62227a4936;p=lilypond.git diff --git a/lily/sustain-pedal.cc b/lily/sustain-pedal.cc index c2cad1be29..f57ba09a9e 100644 --- a/lily/sustain-pedal.cc +++ b/lily/sustain-pedal.cc @@ -41,8 +41,8 @@ Sustain_pedal::print (SCM smob) Grob * e = unsmob_grob (smob); Stencil mol; - SCM glyph = e->get_grob_property ("text"); - if (!gh_string_p (glyph)) + SCM glyph = e->get_property ("text"); + if (!ly_c_string_p (glyph)) return mol.smobbed_copy (); String text = ly_scm2string (glyph);