]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.28
authorfred <fred>
Sun, 24 Mar 2002 19:30:40 +0000 (19:30 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:30:40 +0000 (19:30 +0000)
src/stem.cc

index 2e0d55474ee1c765c97a30826345370309e7ff6c..fc5f9accb4be67c5c93c9ac10f2e39763f873b67 100644 (file)
@@ -60,7 +60,7 @@ Stem::add(Notehead *n)
     if ( p> maxnote)
        maxnote = p;
     heads.push(n);
-    n->dependencies.push(this);
+    n->add_depedency(this);
 }
 
 
@@ -72,11 +72,13 @@ Stem::get_default_dir()
     Real mean = (minnote+maxnote)/2;
     return (mean > staff_center) ? -1: 1;
 }
+
 void
 Stem::set_default_dir()
 {
     dir = get_default_dir();
 }
+
 void
 Stem::set_default_stemlen()
 {