X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fengraver.cc;h=db1303d63ce3b918f95e5d9f254c589a84bf89ea;hb=2603b58f6e4f8706c630273b063606296fa39919;hp=d8ece19ee24435b9489ca0aab4b23a95191becb8;hpb=f93e4199873c91ae32f0e84a610d14853dc379df;p=lilypond.git diff --git a/lily/engraver.cc b/lily/engraver.cc index d8ece19ee2..db1303d63c 100644 --- a/lily/engraver.cc +++ b/lily/engraver.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2011 Han-Wen Nienhuys + Copyright (C) 1997--2012 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -53,7 +53,7 @@ Engraver::make_grob_info (Grob *e, SCM cause) /* TODO: Remove Music code when it's no longer needed */ if (Music *m = unsmob_music (cause)) { - cause = m->to_event ()->unprotect (); + cause = m->to_event (context ())->unprotect (); } if (e->get_property ("cause") == SCM_EOL && (unsmob_stream_event (cause) || unsmob_grob (cause)))