]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.17
authorfred <fred>
Sun, 24 Mar 2002 19:58:38 +0000 (19:58 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:58:38 +0000 (19:58 +0000)
lily/lookup.cc

index a706a36bd88f8b49f3ba779a3accd32365a20fc0..f67efd08bb63b88a5adf9712b32b663ae715c49f 100644 (file)
@@ -150,7 +150,7 @@ Lookup::flag (int j, Direction d) const
 }
 
 Atom
-Lookup::streepjes (int i) const
+Lookup::streepjes (int type, int i) const
 {
   assert (i);
   
@@ -167,9 +167,14 @@ Lookup::streepjes (int i) const
       arg = i;
       idx = "toplines";
     }
+
+  // ugh
+  Real w = ball (type).dim_[X_AXIS].length ();
+
   Atom ret = (*symtables_)("streepjes")->lookup (idx);
   
   Array<String> a;
+  a.push (String (w) + "pt");
   a.push (arg);
   ret.tex_ = substitute_args (ret.tex_, a);