X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fbeam-engraver.cc;h=f457e4cebe59ddf2cf136328548e24b59d1fccc2;hb=af9078fd6d63dea5141e87a1b4d7cb5b0bcba84a;hp=3baff066a010494934ef1c53223e21b6a695d449;hpb=75f696f41c829a896ded4a0731cbfe644039ef48;p=lilypond.git diff --git a/lily/beam-engraver.cc b/lily/beam-engraver.cc index 3baff066a0..f457e4cebe 100644 --- a/lily/beam-engraver.cc +++ b/lily/beam-engraver.cc @@ -243,12 +243,12 @@ Beam_engraver::acknowledge_grob (Grob_info info) if (Stem::beam_l (stem_l)) return; - Rhythmic_req *rhythmic_req = dynamic_cast (info.req_l_); + Rhythmic_req *rhythmic_req = dynamic_cast (info.music_cause ()); if (!rhythmic_req) { String s = _ ("stem must have Rhythmic structure"); - if (info.req_l_) - info.req_l_->origin ()->warning (s); + if (info.music_cause ()) + info.music_cause ()->origin ()->warning (s); else ::warning (s);