From: Han-Wen Nienhuys Date: Thu, 2 Oct 2003 09:06:28 +0000 (+0000) Subject: (construct_children): X-Git-Tag: release/2.1.0~6 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b4e62075683b77e3a915c4a8d2394d4991e1650f;p=lilypond.git (construct_children): only change translator if found. This fixes a core dump problem. --- diff --git a/ChangeLog b/ChangeLog index 632d8ceb79..0ce091af24 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-10-02 Han-Wen Nienhuys + + * lily/context-specced-music-iterator.cc (construct_children): + only change translator if found. This fixes a core dump problem. + 2003-09-30 Han-Wen Nienhuys * scm/slur.scm (default-slur-extremity-rules): use equal? for diff --git a/Documentation/user/refman.itely b/Documentation/user/refman.itely index 7ea49d592e..96af610b06 100644 --- a/Documentation/user/refman.itely +++ b/Documentation/user/refman.itely @@ -8072,11 +8072,17 @@ their center lines: c1^\markup { \line < a b c > } @end lilypond +Markups can be stored in variables, and these variables +may be attached to notes, like +@verbatim +allegro = \markup { \bold \large { Allegro } } +\notes { a^\allegro b c d } +@end verbatim + The markup mechanism is extensible. Refer to @file{scm/new-markup.scm} for more information. - @seealso @internalsref{Markup-functions}, and @file{scm/new-markup.scm}. diff --git a/lily/context-specced-music-iterator.cc b/lily/context-specced-music-iterator.cc index a5b808a9ba..44111de30f 100644 --- a/lily/context-specced-music-iterator.cc +++ b/lily/context-specced-music-iterator.cc @@ -31,8 +31,9 @@ Context_specced_music_iterator::construct_children () Translator_group* a =report_to ()->find_create_translator (ct, c_id); - - set_translator (a); + + if (a) + set_translator (a); Music_wrapper_iterator::construct_children(); }