From 1c31c4fe0bcb9c09e1afd63ec77d232f1b9d377d Mon Sep 17 00:00:00 2001 From: fred Date: Wed, 27 Nov 1996 01:26:00 +0000 Subject: [PATCH] lilypond-0.0.11 --- src/stem.cc | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/stem.cc b/src/stem.cc index fb8e410117..126cc30474 100644 --- a/src/stem.cc +++ b/src/stem.cc @@ -31,6 +31,7 @@ Stem::Stem(int c) void Stem::set_stemend(Real se) { + assert(!output); // todo: margins assert((dir > 0 && se >= maxnote) || (se <= minnote && dir <0)); @@ -126,13 +127,10 @@ Stem::brew_molecole() assert(!output); Paperdef *p =paper(); - Parametric_symbol *stem = p->lookup_->stem(); - - Real dy = p->interline()/2; - String y1 =print_dimen( dy * bot); - String y2 = print_dimen(dy * top); - Symbol ss =stem->eval(y1,y2); - delete stem; + + Real dy = p->internote(); + Symbol ss =p->lookup_->stem(bot*dy,top*dy); + output = new Molecule(Atom(ss)); -- 2.39.5