X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Feasy-notation.cc;h=c5d886147b59b5c5c3de32a12cf3fe6b0dde8e9e;hb=38925347b5370c7eb06f7baaeac8a461a0a12ac4;hp=2fb0d7223474f364a377a1746c54bb8790f5537c;hpb=0cea316d3d14c6f11ea79139574ce848cb5c46f3;p=lilypond.git diff --git a/lily/easy-notation.cc b/lily/easy-notation.cc index 2fb0d72234..c5d886147b 100644 --- a/lily/easy-notation.cc +++ b/lily/easy-notation.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2005--2006 Han-Wen Nienhuys + (c) 2005--2007 Han-Wen Nienhuys */ #include "note-head.hh" @@ -15,7 +15,6 @@ using namespace std; #include "grob.hh" #include "music.hh" #include "output-def.hh" -#include "pitch.hh" #include "staff-symbol-referencer.hh" #include "stem.hh" #include "stream-event.hh" @@ -46,9 +45,9 @@ Note_head::brew_ez_stencil (SCM smob) else { char s[2] = "a"; - s[0] = (pit->get_notename () + 2) % 7 + 'a'; - s[0] = toupper (s[0]); - charstr = scm_makfrom0str (s); + s[0] = char ((pit->get_notename () + 2) % 7 + 'a'); + s[0] = char (toupper (s[0])); + charstr = scm_from_locale_string (s); } SCM letter