]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/footnote-engraver.cc
Issue 2559: For time-based footnotes without grob spec, attach to all grobs
[lilypond.git] / lily / footnote-engraver.cc
index 78d2f0e6d3b8edaa761dbf243522d2691d432ecf..830fdfe97227c6b06412bd4ab66d8a73f69891c0 100644 (file)
@@ -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]);
     }
 }