2002-04-02 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ * lily/note-spacing.cc (stem_dir_correction): only do
+ beam-correction if a beam is there.
+
* lily/stem.cc (duration_log): change from flag_i (); better
naming.
(get_default_stem_end_position): fix dot/flag collision code.
@lilypondfile[printfilename]{rest-pitch.ly}
-
@section Dots
@lilypondfile[printfilename]{dots.ly}
if (correct &&stem_dirs[LEFT] *stem_dirs[RIGHT] == -1)
{
- if (beams_drul[LEFT] == beams_drul[RIGHT])
+ if (beams_drul[LEFT] && beams_drul[LEFT] == beams_drul[RIGHT])
{
/*
this is a knee: maximal correction.
(NoteSpacing
. (
(stem-spacing-correction . 0.5)
- (space-factor . 1.0)
(meta . ((interfaces . (note-spacing-interface))))
))