]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lookup.cc
release: 0.0.73pre
[lilypond.git] / lily / lookup.cc
index dd33fa3df68296836333cdd4d6a969048252d268..e4a92693db53492c47d81ff48c5e70fe820e1564 100644 (file)
@@ -101,9 +101,14 @@ Lookup::accidental(int j) const
 
 
 Symbol
-Lookup::bar(String s) const
+Lookup::bar(String s, Real h) const
 {
-    return (*symtables_)("bars")->lookup(s);
+    Array<String> a;
+    a.push(print_dimen( h));
+    Symbol ret=(*symtables_)("bars")->lookup(s);;
+    ret.tex = substitute_args(ret.tex, a);
+    ret.dim.y = Interval( 0, h);
+    return ret;
 }
 
 Symbol