From: fred Date: Tue, 5 Nov 1996 16:56:24 +0000 (+0000) Subject: lilypond-0.0.8 X-Git-Tag: release/1.5.59~6898 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=36704ee2bf471a546c0cea6231fe2cdb91664cf2;p=lilypond.git lilypond-0.0.8 --- diff --git a/calcideal.cc b/calcideal.cc index 1dc0e1d385..8099e0e4c7 100644 --- a/calcideal.cc +++ b/calcideal.cc @@ -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;