]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/rod.cc
release: 1.0.1
[lilypond.git] / lily / rod.cc
index 8face4fd45838035611e54e81817651eb488f12f..1b2ae4f824e0e24e475e35fa8f2dff6e663c8bb1 100644 (file)
@@ -3,13 +3,15 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1998 Han-Wen Nienhuys <hanwen@cs.ruu.nl>
+  (c) 1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 #include "rod.hh"
 #include "p-col.hh"
 #include "debug.hh"
 #include "single-malt-grouping-item.hh"
+#include "dimension.hh"
+
 
 Rod::Rod (Single_malt_grouping_item *l, Single_malt_grouping_item *r)
 {
@@ -21,7 +23,7 @@ Rod::Rod (Single_malt_grouping_item *l, Single_malt_grouping_item *r)
   if (li.empty_b () || ri.empty_b ())
     distance_f_ = 0;
   else
-    distance_f_ = li[RIGHT] + ri[LEFT];
+    distance_f_ = li[RIGHT] - ri[LEFT] + 1.5 PT; // ugh
 }
          
 Rod::Rod ()