X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Feasy-notation.cc;h=8838efee2dc2b849164ad97cda0d2aae92e10b5f;hb=6a18123d7fcd2f4ee57835c5ea70835ceabb5c39;hp=c6ecb0e20f4539a48301f0e959ac96f2240374c4;hpb=9e69cb84d6ee5b0a861cd97869b10e3bdf0c833c;p=lilypond.git diff --git a/lily/easy-notation.cc b/lily/easy-notation.cc index c6ecb0e20f..8838efee2d 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--2009 Han-Wen Nienhuys */ #include "note-head.hh" @@ -45,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