]> git.donarmstrong.com Git - lilypond.git/commitdiff
Check the bar type from glyph-name instead of glyph, so you get
authorMats Bengtsson <mats.bengtsson@s3.kth.se>
Tue, 22 Jan 2008 09:20:44 +0000 (10:20 +0100)
committerMats Bengtsson <mats.bengtsson@s3.kth.se>
Tue, 22 Jan 2008 09:20:44 +0000 (10:20 +0100)
vertical endings as expected also for custom bar types.

lily/volta-bracket.cc

index cedc7df6cbb883078b1dea8cd005d5451948eea7..e1d3fa8a4ad5565fd7cac78bff1029340164f1fa 100644 (file)
@@ -119,7 +119,7 @@ Volta_bracket_interface::modify_edge_height (Spanner *me)
 
   extract_grob_set (me, "bars", bars);
   Grob *endbar = bars.size () ? bars.back () : 0;
-  SCM glyph = endbar ? endbar->get_property ("glyph") : SCM_EOL;
+  SCM glyph = endbar ? endbar->get_property ("glyph-name") : SCM_EOL;
 
   string str;
   if (scm_is_string (glyph))