diff options
Diffstat (limited to 'lily/crescendo.cc')
-rw-r--r-- | lily/crescendo.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lily/crescendo.cc b/lily/crescendo.cc index 8f604dbcba..574b91c9ff 100644 --- a/lily/crescendo.cc +++ b/lily/crescendo.cc @@ -32,20 +32,20 @@ static Real absdyn_dim = 10 PT; // ugh Symbol Crescendo::get_symbol()const { - Real w_dim = width().length(); - if ( left_dyn_b_ ) { + Real w_dim = width().length (); + if ( left_dyn_b_) { w_dim -= absdyn_dim; } - if ( right_dyn_b_ ) { + if ( right_dyn_b_) { w_dim -= absdyn_dim; } if (w_dim < 0) { - warning("Crescendo too small"); + warning ("Crescendo too small"); w_dim = 0; } - return Symbol( paper()->lookup_l()->hairpin( w_dim, grow_dir_i_ < 0) ); + return Symbol (paper()->lookup_l ()->hairpin (w_dim, grow_dir_i_ < 0)); } Molecule* @@ -57,9 +57,9 @@ Crescendo::brew_molecule_p() const x_off_dim += absdyn_dim; m_p = new Molecule; - Symbol s(get_symbol()); - m_p->add(Atom(s)); - m_p->translate(Offset(x_off_dim, pos_i_ * paper()->internote_f())); + Symbol s (get_symbol()); + m_p->add (Atom (s)); + m_p->translate (Offset (x_off_dim, pos_i_ * paper()->internote_f ())); return m_p; } |