From d06e3f1f9bbc6a5441241a4f369ad29af7799a5a Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:30:30 +0000 Subject: [PATCH] lilypond-0.0.28 --- src/localkeyitem.cc | 2 +- src/script.cc | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/localkeyitem.cc b/src/localkeyitem.cc index 383f875d42..c61f1b91af 100644 --- a/src/localkeyitem.cc +++ b/src/localkeyitem.cc @@ -15,7 +15,7 @@ void Local_key_item::add(Item*head_l) { group.push(head_l); - dependencies.push(head_l); + add_depedency(head_l); } void Local_key_item::add(Melodic_req*m_l) diff --git a/src/script.cc b/src/script.cc index f9155ea0c4..4b1ae191d0 100644 --- a/src/script.cc +++ b/src/script.cc @@ -11,14 +11,14 @@ void Script::set_stem(Stem*st_l) { stem_l_ = st_l; - dependencies.push(st_l); + add_depedency(st_l); } void Script::set_support(Item*i) { support.push(i); - dependencies.push(i); + add_depedency(i); } Script::Script(Script_req* rq, int staflen) @@ -68,7 +68,7 @@ Script::set_default_pos() Interval v= support_height(); y = v[dir] -dy[-dir] + 2*dir*inter_f; } else { - Real y = (d > 0) ? staffsize + 2: -2; // ug + y = (d > 0) ? staffsize + 2: -2; // ug y *=inter_f; Interval v= support_height(); @@ -78,6 +78,7 @@ Script::set_default_pos() y = y height(); -- 2.39.5