From: David Kastrup Date: Wed, 23 May 2012 13:56:36 +0000 (+0200) Subject: Issue 2559: For time-based footnotes without grob spec, attach to all grobs X-Git-Tag: release/2.15.40-1~13 X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=commitdiff_plain;h=6bc024330084b2d23ca58c4075c75fe0b4257060;p=lilypond.git Issue 2559: For time-based footnotes without grob spec, attach to all grobs --- diff --git a/lily/footnote-engraver.cc b/lily/footnote-engraver.cc index 78d2f0e6d3..830fdfe972 100644 --- a/lily/footnote-engraver.cc +++ b/lily/footnote-engraver.cc @@ -137,7 +137,9 @@ Footnote_engraver::acknowledge_grob (Grob_info info) for (vsize i = 0; i < events_.size (); i++) { - if (info.grob ()->name () == ly_symbol2string (events_[i]->get_property ("symbol"))) + SCM name = events_[i]->get_property ("symbol"); + if (!scm_is_symbol (name) + || info.grob ()->name () == ly_symbol2string (name)) footnotify (info.grob (), events_[i]); } }