]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/spring-spacer.cc
release: 0.1.46
[lilypond.git] / lily / spring-spacer.cc
index 94fd515d3911dba6a14e74ec7d17d5d17430ec5b..2b030e6c71bc555cc0741cb7983883df846c786b 100644 (file)
@@ -249,7 +249,6 @@ void
 Spring_spacer::make_constraints (Mixed_qp& lp) const
 {
   int dim=cols.size();
-  Real nw_f = paper_l ()->note_width ();
   for (int j=0; j < dim; j++)
     {
       Colinfo c=cols[j];
@@ -635,6 +634,9 @@ Spring_spacer::calc_idealspacing()
              dist = dist >? minimum;
            }
 
+          // ugh: never let columns touch... try to set over here...
+         // ugh: use j iso i triggers ice in gcc-2.7.2.3 
+          cols[i].width_[LEFT] -= nw_f / 4;
          ideal_arr_[i] = dist;
        }
     }