X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fsustain-pedal.cc;h=8056ea89a2448a99bafb24493ad00eb9921ecb4c;hb=6cfb9a639928d8c25eed7e113b8e98ec4e616609;hp=b1d87e79a3885d542f1cfff6f8d55d0e98370608;hpb=b37e3f652677ae0298423db9fa0e552e5fce0c92;p=lilypond.git diff --git a/lily/sustain-pedal.cc b/lily/sustain-pedal.cc index b1d87e79a3..8056ea89a2 100644 --- a/lily/sustain-pedal.cc +++ b/lily/sustain-pedal.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2000--2006 Han-Wen Nienhuys + (c) 2000--2007 Han-Wen Nienhuys */ #include "grob.hh" #include "stencil.hh" @@ -44,21 +44,21 @@ Sustain_pedal::print (SCM smob) if (!scm_is_string (glyph)) return mol.smobbed_copy (); - std::string text = ly_scm2string (glyph); + string text = ly_scm2string (glyph); for (ssize i = 0; i < text.length (); i++) { - std::string idx ("pedal."); + string idx ("pedal."); if (text.substr (i, 3) == "Ped") { idx += "Ped"; i += 2; } else - idx += std::string (&text.c_str ()[i], 1); + idx += string (&text.c_str ()[i], 1); Stencil m = Font_interface::get_default_font (e)->find_by_name (idx); if (!m.is_empty ()) - mol.add_at_edge (X_AXIS, RIGHT, m, 0, 0); + mol.add_at_edge (X_AXIS, RIGHT, m, 0); } return mol.smobbed_copy ();