]> git.donarmstrong.com Git - lilypond.git/commitdiff
Revert "ledger-lines: horizontal space only when present"
authorDavid Kastrup <dak@gnu.org>
Mon, 17 Feb 2014 15:37:09 +0000 (16:37 +0100)
committerDavid Kastrup <dak@gnu.org>
Mon, 17 Feb 2014 15:37:09 +0000 (16:37 +0100)
This reverts commit 0c193995d884c167d6df57440d229b79be1711c4.

lily/ledger-line-spanner.cc

index 213675da09489b12bf075c371f0bfd7c4c54b2cc..de88ba402f6518fa44f068b3c431ce975fc25f69 100644 (file)
@@ -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_symbol::ledger_positions (staff, pos).empty ())
+      if (staff_extent.contains (pos))
         continue;
 
       /* Ambitus heads can appear out-of-order in heads[],