From: fred Date: Wed, 11 Dec 1996 12:53:44 +0000 (+0000) Subject: lilypond-0.0.16 X-Git-Tag: release/1.5.59~6617 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1c3ca7786caa6ad49135a86b119a938aa31cd405;p=lilypond.git lilypond-0.0.16 --- diff --git a/src/beam.cc b/src/beam.cc index 6c7e6599cf..c897ebfc66 100644 --- a/src/beam.cc +++ b/src/beam.cc @@ -124,6 +124,9 @@ Beam::process() { calculate(); + /* + quick and dirty! + */ for (PCursor i(stems); i.ok(); i++) i->beams_left = i->beams_right = intlog2(ABS(i->flag)) - 2; @@ -192,7 +195,7 @@ Beam::stem_beams(Stem *here, Stem *next, Stem *prev) if (next){ int rhalfs = here->beams_right - next->beams_left; - int rwholebeams = here->beams_right beams_left; // g++ + int rwholebeams = here->beams_right beams_left; Real w = next->hpos() - here->hpos(); Atom a = paper()->lookup_->beam(sl, w + stemdx); diff --git a/src/inputmusic.cc b/src/inputmusic.cc index 45d00e1fb6..6d3186bf73 100644 --- a/src/inputmusic.cc +++ b/src/inputmusic.cc @@ -1,7 +1,9 @@ #include "debug.hh" #include "inputmusic.hh" #include "voice.hh" - +Input_music::~Input_music() +{ +} Vertical_simple::Vertical_simple() { voice_ = new Voice; diff --git a/src/slur.cc b/src/slur.cc index 8b46ec771b..5d9eb0de44 100644 --- a/src/slur.cc +++ b/src/slur.cc @@ -85,10 +85,9 @@ Slur::brew_molecule() assert(left->line == right->line); int minp=1000, maxp=-1000; // todo for (int i=0; iposition, minp); - maxp = MAX(encompass[i]->position, maxp); - } - + minp = encompass[i]->position position 0); // todo int pos1 = encompass.last()->position; int pos2 = encompass[0]->position;