From: Keith OHara Date: Sat, 28 Dec 2013 21:40:45 +0000 (-0800) Subject: ledger-lines: horizontal space only when present X-Git-Tag: release/2.19.0-1~14 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=73561a375ec527b14e362aa6618db7009cebb6d1;p=lilypond.git ledger-lines: horizontal space only when present --- diff --git a/lily/ledger-line-spanner.cc b/lily/ledger-line-spanner.cc index de88ba402f..213675da09 100644 --- a/lily/ledger-line-spanner.cc +++ b/lily/ledger-line-spanner.cc @@ -100,7 +100,7 @@ Ledger_line_spanner::set_spacing_rods (SCM smob) Item *h = heads[i]; int pos = Staff_symbol_referencer::get_rounded_position (h); - if (staff_extent.contains (pos)) + if (Staff_symbol::ledger_positions (staff, pos).empty ()) continue; /* Ambitus heads can appear out-of-order in heads[],