]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/bar-line.cc (compound_barline): Fix parenthesis error,
authorMats Bengtsson <mats.bengtsson@s3.kth.se>
Tue, 27 Jun 2006 14:49:04 +0000 (14:49 +0000)
committerMats Bengtsson <mats.bengtsson@s3.kth.se>
Tue, 27 Jun 2006 14:49:04 +0000 (14:49 +0000)
gives correct vertical placement of \bar ":" in all staff
sizes. Thanks Martial!

ChangeLog
lily/bar-line.cc

index c46d472e774da5ee5cfa32fa01d3c8969c38ce63..e912fbf8ae502785562dc9ad586a2ec0f9b9385d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-06-27  Mats Bengtsson  <mabe@drongo.s3.kth.se>
+
+       * lily/bar-line.cc (compound_barline): Fix parenthesis error,
+       gives correct vertical placement of \bar ":" in all staff
+       sizes. Thanks Martial!
+
 2006-06-26  Graham Percival  <gpermus@gmail.com>
 
        * Documentation/user/invoking.itely : minor update from mailist.
index 4922a84d37b29921d1e5a79d29c4ccd1508f1f0d..cd508de8bff81ab48e6cc2daf2252adbcf3d5974 100644 (file)
@@ -124,7 +124,7 @@ Bar_line::compound_barline (Grob *me, string str, Real h,
 
       for (int i = 0; i < c - 1; i++)
        {
-         Real y = (- (c - 1.0) / 2 + 0.5 + i * staff_space);
+         Real y = (- (c - 1.0) / 2 + 0.5 + i) * staff_space;
          Stencil d (dot);
 
          d.translate_axis (y, Y_AXIS);