X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fgrob-info.cc;h=4e5d8889f30fb591b044aa11ebfa386682a90434;hb=a02cfaa060e2c5b0d21236016ee5328d21c2f8cb;hp=f02e836e75389b80d601e7ddb9c12981682fb46d;hpb=ac3dd3ad38528113d97f6a8a7b81751c328f1c36;p=lilypond.git diff --git a/lily/grob-info.cc b/lily/grob-info.cc index f02e836e75..4e5d8889f3 100644 --- a/lily/grob-info.cc +++ b/lily/grob-info.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 @@ -30,6 +30,7 @@ Grob_info::Grob_info (Translator *t, Grob *g) origin_trans_ = t; grob_ = g; start_end_ = START; + rerouting_daddy_context_ = 0; /* assert here, because this is easier to debug. @@ -42,6 +43,7 @@ Grob_info::Grob_info () grob_ = 0; start_end_ = START; origin_trans_ = 0; + rerouting_daddy_context_ = 0; } Stream_event * @@ -51,11 +53,11 @@ Grob_info::event_cause () const return unsmob_stream_event (cause); } -vector +vector Grob_info::origin_contexts (Translator *end) const { Context *t = origin_trans_->context (); - vector r; + vector r; do { r.push_back (t);