SCM s1 = p1->get_property ("horizontal-shift");
SCM s2 = p2->get_property ("horizontal-shift");
- int h1 = (scm_is_number (s1))? scm_to_int (s1) :0;
- int h2 = (scm_is_number (s2)) ? scm_to_int (s2):0;
+ int h1 = (scm_is_number (s1)) ? scm_to_int (s1) : 0;
+ int h2 = (scm_is_number (s2)) ? scm_to_int (s2) : 0;
return h1 - h2;
}
else if (scm_is_pair (me->get_property ("note-heads")))
return (Direction)sign (head_positions_interval (me).center ());
- programming_error ("Note column without heads and stem!");
+ programming_error ("note column without heads and stem");
return CENTER;
}
}
if (both)
- me->warning ("Can't have rests and note heads together on a stem.");
+ me->warning (_ ("can't have note heads and rests together on a stem"));
else
Axis_group_interface::add_element (me, h);
}
Axis_group_interface::add_element (me, d);
}
-
Grob *
Note_column::first_head (Grob *me)
{
Grob *st = get_stem (me);
- return st? Stem::first_head (st): 0;
+ return st ? Stem::first_head (st) : 0;
}
/*