]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/arpeggio.cc
2003 -> 2004
[lilypond.git] / lily / arpeggio.cc
index ed040e70c56cbfe192ac1e761a985b640153c91f..57373bbe2299136027f6dc281967d6695d1751b2 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
   
-  (c) 2000--2003 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 2000--2004 Jan Nieuwenhuizen <janneke@gnu.org>
  */
 
 #include "molecule.hh"
@@ -54,7 +54,7 @@ Arpeggio::brew_molecule (SCM smob)
                   - my_y);
     }
 
-  if (heads.empty_b ())
+  if (heads.is_empty ())
     {
       /*
        Dumb blonde error
@@ -128,7 +128,7 @@ Arpeggio::brew_chord_bracket (SCM smob)
   Real dy = heads.length() + sp;
   Real x = 0.7;
 
-  Molecule mol (Lookup::bracket (Y_AXIS, Interval (0, dy), lt, x));
+  Molecule mol (Lookup::bracket (Y_AXIS, Interval (0, dy), lt, x, lt));
   mol.translate_axis (heads[LEFT] - sp/2.0, Y_AXIS);
   return mol.smobbed_copy();
 }