diff options
author | Han-Wen Nienhuys <hanwen@xs4all.nl> | 1997-04-10 14:46:59 +0200 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@xs4all.nl> | 1997-04-10 14:46:59 +0200 |
commit | 7f0a3b682bebc864fbca295deba301238d805274 (patch) | |
tree | 99a462859dca9fe74a8aa2e56458d438f9bd78b3 /lily/beam.cc | |
parent | 79511c44a27908a1beaed25bbcac8d95a8a6b7c8 (diff) |
release: 0.0.50
Diffstat (limited to 'lily/beam.cc')
-rw-r--r-- | lily/beam.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lily/beam.cc b/lily/beam.cc index a20e859e23..389226fa71 100644 --- a/lily/beam.cc +++ b/lily/beam.cc @@ -30,7 +30,7 @@ struct Stem_info { Stem_info::Stem_info(Stem const *s) { x = s->hindex(); - int dir = s->dir; + int dir = s->dir_i_; idealy = max(dir*s->top, dir*s->bot); miny = max(dir*s->minnote, dir*s-> maxnote); assert(miny <= idealy); @@ -74,7 +74,7 @@ Beam::set_default_dir() } dir_i_ = (dirs[0] > dirs[1]) ? -1 : 1; for (iter_top(stems,i); i.ok(); i++) { - i->dir = dir_i_; + i->dir_i_ = dir_i_; } } @@ -190,7 +190,7 @@ Beam::do_pre_processing() Interval -Beam::width() const +Beam::do_width() const { Beam * me = (Beam*) this; // ugh return Interval( (*me->stems.top()) ->hindex(), |