]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 2559: For time-based footnotes without grob spec, attach to all grobs
authorDavid Kastrup <dak@gnu.org>
Wed, 23 May 2012 13:56:36 +0000 (15:56 +0200)
committerDavid Kastrup <dak@gnu.org>
Tue, 29 May 2012 09:25:29 +0000 (11:25 +0200)
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]);
     }
 }