From f446ffbfe399c834f2e050667023405f029bb108 Mon Sep 17 00:00:00 2001 From: Mike Solomon Date: Sun, 6 Mar 2011 14:13:29 -0500 Subject: [PATCH] Fixes break-visibility issue in system.cc for footnotes. Prevents end-of-line visible footnotes from being double counted at the start of a system. --- lily/system.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lily/system.cc b/lily/system.cc index 8b1e6d4a22..6bf428206d 100644 --- a/lily/system.cc +++ b/lily/system.cc @@ -277,6 +277,8 @@ System::get_footnote_grobs_in_range (vector &out, vsize start, vsize end continue; if (pos > (int)end) break; + if (pos == (int)start && end_of_line_visible) + continue; if (pos == (int)end && !end_of_line_visible) continue; if (!footnote_grobs_[i]->is_live ()) -- 2.39.5