X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Feasy-notation.cc;h=87325342306af13ab39f75ea4f41fee56b40590c;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=6ddc00e1d39418be0c9c628388b61f3f6df8e134;hpb=eb51e9b3adf374a806fed1dda25d146974950123;p=lilypond.git diff --git a/lily/easy-notation.cc b/lily/easy-notation.cc index 6ddc00e1d3..8732534230 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--2008 Han-Wen Nienhuys */ #include "note-head.hh" @@ -15,11 +15,11 @@ 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" #include "text-interface.hh" +#include "rhythmic-head.hh" /* @@ -31,7 +31,7 @@ SCM Note_head::brew_ez_stencil (SCM smob) { Grob *me = unsmob_grob (smob); - int log = Note_head::get_balltype (me); + int log = Rhythmic_head::duration_log (me); SCM cause = me->get_property ("cause"); SCM spitch = unsmob_stream_event (cause)->get_property ("pitch"); @@ -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