]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/beam-quanting.cc
Move @documentencoding just after @setfilename
[lilypond.git] / lily / beam-quanting.cc
index 5bd62f19bc246e038c86961b6e8d3977c15bb75b..ebda6eb256fe484354feb94add3a4a979932198f 100644 (file)
@@ -179,7 +179,7 @@ Beam::quanting (SCM smob, SCM posns)
 
       if (Stem::is_normal_stem (s))
        {
-         base_lengths.push_back (calc_stem_y (me, s, common, xl, xr,
+         base_lengths.push_back (calc_stem_y (me, s, common, xl, xr, CENTER, 
                                               Interval (0, 0), f) / ss);
        }
       else
@@ -379,8 +379,7 @@ Beam::score_stem_lengths (vector<Grob*> const &stems,
   Direction d = DOWN;
   do
     score[d] /= max (count[d], 1);
-  while (flip (&d) != DOWN)
-    ;
+  while (flip (&d) != DOWN);
 
   return score[LEFT] + score[RIGHT];
 }