2006-09-30 Joe Neeman <joeneeman@gmail.com>
+ * lily/page-turn-engraver.cc (breakable_column): remove an always-true
+ conditional
+ (breakable_column): typo
+
* lily/source-file.cc (get_line): fix off-by-one error
and clean up some of the logic
ret.push_back (Page_turn_event (intersect[LEFT], intersect[RIGHT], permission_, new_pen));
if (penalty.duration_[RIGHT] < duration_[RIGHT])
- ret.push_back (Page_turn_event (penalty.duration_[RIGHT], duration_[LEFT], permission_, penalty_));
+ ret.push_back (Page_turn_event (penalty.duration_[RIGHT], duration_[RIGHT], permission_, penalty_));
return ret;
}
if (start == breakable_moments_.size ())
return NULL;
- if (end == breakable_moments_.size () || breakable_moments_[end] > brk.duration_[RIGHT])
- {
- if (end == 0)
- return NULL;
- end--;
- }
+ if (end == 0)
+ return NULL;
+ end--;
for (vsize i = end + 1; i-- > start;)
if (special_barlines_[i])