X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Frequest-iterator.cc;h=ca103ee062132c131563a3ef012a7c02301d67a1;hb=78ed9c22a8cbf56ff5390553e0a2854aa42cbbc5;hp=b2f8a712a4b6182d8ecae57fe04d0568f2c8b38d;hpb=3a46c107cba4b3d2dba74e21f9046cc399c8baf1;p=lilypond.git diff --git a/lily/request-iterator.cc b/lily/request-iterator.cc index b2f8a712a4..ca103ee062 100644 --- a/lily/request-iterator.cc +++ b/lily/request-iterator.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997--1998 Han-Wen Nienhuys + (c) 1997--1999 Han-Wen Nienhuys */ #include "translator-group.hh" @@ -63,17 +63,17 @@ Request_chord_iterator::do_process_and_next (Moment mom) { if (first_b_) { - for (PCursor i (elt_l ()->music_p_list_p_->top ()); i.ok(); i++) + for (Cons *i = elt_l ()->music_p_list_p_->head_; i; i = i->next_) { - if (Request * req_l = dynamic_cast (i.ptr())) + if (Request * req_l = dynamic_cast (i->car_)) { bool gotcha = report_to_l()->try_music (req_l); if (!gotcha) req_l->warning (_f ("junking request: `%s\'", classname( req_l))); } else - i.ptr ()->warning (_f ("Huh? Not a Request: `%s\'", - classname (i.ptr()))); + i->car_->warning (_f ("Huh? Not a Request: `%s\'", + classname (i->car_))); } first_b_ = false; }