From: fred Date: Sun, 24 Mar 2002 19:28:06 +0000 (+0000) Subject: lilypond-0.0.23 X-Git-Tag: release/1.5.59~5600 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6175cd0cc79fe273132d56b4ba9e2c67f94cfe7d;p=lilypond.git lilypond-0.0.23 --- diff --git a/src/linespace.cc b/src/linespace.cc index 920d3ba7ab..8ce517a7a2 100644 --- a/src/linespace.cc +++ b/src/linespace.cc @@ -46,7 +46,11 @@ Spacing_problem::OK() const for (int i = 0; i < cols.size(); i++) { bool c=false; for (int j =0; j COLFUDGE) { + if (cols[i].fixed()&& + abs(cols[i].fixed_position() - v(i)) > COLFUDGE) return false; - } + if (!i) continue; @@ -73,19 +77,9 @@ Spacing_problem::check_constraints(Vector v) const bool b = (dif > - COLFUDGE); -#if 1 if (!b) return false; -#else - mtor << "dif= "<fudge= "<< - b << "\n"; - - /* fucks up for unknown reasons */ - if (dif < -COLFUDGE) - return false; -#endif - } return true; }