]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.8
authorfred <fred>
Tue, 5 Nov 1996 16:56:24 +0000 (16:56 +0000)
committerfred <fred>
Tue, 5 Nov 1996 16:56:24 +0000 (16:56 +0000)
calcideal.cc

index 1dc0e1d3859e79f73d02e35bf6b8aad1e2f37465..8099e0e4c71e04f5c9f1eef963b18bc237cc85f8 100644 (file)
@@ -3,7 +3,6 @@
 #include "pscore.hh"
 #include "staff.hh"
 #include "paper.hh"
-#include "misc.hh"
 #include "sccol.hh"
 #include "debug.hh"
 
@@ -50,7 +49,7 @@ Score::calc_idealspacing()
        if (sc->musical)
            for (int i=0; i < sc->durations.sz(); i++) {
                Real d = sc->durations[i];
-               Real dist = duration_to_idealspace(d, paper_->whole_width);
+               Real dist = paper_->duration_to_dist(d);
                PCol * c2 = find_col(sc->when + d,true)->pcol;
                connect_nonmus(sc->pcol, c2, dist);
                c2 = find_col(sc->when + d,false)->pcol;