X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fsustain-pedal.cc;h=5537069fd460033d77a24a1d6b11c54701884085;hb=77dba2aad902de14961ca17d32e3551eba7bab08;hp=f57ba09a9eb8568bbcc48898a7805cb448d2a11b;hpb=ba858880848d6aca1de4401d185860eb2017a01c;p=lilypond.git diff --git a/lily/sustain-pedal.cc b/lily/sustain-pedal.cc index f57ba09a9e..5537069fd4 100644 --- a/lily/sustain-pedal.cc +++ b/lily/sustain-pedal.cc @@ -9,7 +9,6 @@ #include "grob.hh" #include "stencil.hh" #include "font-interface.hh" -#include "string.hh" // update comment --hwn /* @@ -42,7 +41,7 @@ Sustain_pedal::print (SCM smob) Stencil mol; SCM glyph = e->get_property ("text"); - if (!ly_c_string_p (glyph)) + if (!scm_is_string (glyph)) return mol.smobbed_copy (); String text = ly_scm2string (glyph);