Real absdyn_dim = paper_l ()-> get_var ("crescendo_shorten");
Real extra_left = get_broken_left_end_align ();
- SCM dir = get_elt_property("grow-dir");
+ SCM dir = get_elt_property("grow-direction");
SCM dyns = get_elt_property ("dynamic-drul");
if (!isdir_b (dir) || !gh_pair_p (dyns))
m->dim_.x () = Interval (0, width);
m->dim_.y () = Interval (-2*height, 2*height);
- Atom *a = new Atom(gh_list (ly_symbol2scm (hairpin),
+ SCM at = gh_list (ly_symbol2scm (hairpin),
gh_double2scm (thick),
gh_double2scm (width),
gh_double2scm (height),
gh_double2scm (continued ? height/2 : 0.0),
- SCM_UNDEFINED));
+ SCM_UNDEFINED);
- m->add_atom (a->self_scm_);
+ m->add_atom (at);
m->translate_axis (extra_left, X_AXIS);
return m;
}