summaryrefslogtreecommitdiff
path: root/lily/walk-regs.cc
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@xs4all.nl>1997-04-10 14:46:59 +0200
committerHan-Wen Nienhuys <hanwen@xs4all.nl>1997-04-10 14:46:59 +0200
commit7f0a3b682bebc864fbca295deba301238d805274 (patch)
tree99a462859dca9fe74a8aa2e56458d438f9bd78b3 /lily/walk-regs.cc
parent79511c44a27908a1beaed25bbcac8d95a8a6b7c8 (diff)
release: 0.0.50
Diffstat (limited to 'lily/walk-regs.cc')
-rw-r--r--lily/walk-regs.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/lily/walk-regs.cc b/lily/walk-regs.cc
index e0221462e7..17e63918fe 100644
--- a/lily/walk-regs.cc
+++ b/lily/walk-regs.cc
@@ -30,7 +30,7 @@ Walker_registers::Walker_registers(Complex_walker *w)
void
Walker_registers::announce_element(Staff_elem_info info)
{
- if (info.elem_p_->name() == Bar::static_name()) {
+ if (info.elem_l_->name() == Bar::static_name()) {
walk_l_->allow_break();
}
announce_info_arr_.push(info);
@@ -48,6 +48,7 @@ Walker_registers::do_announces()
Request dummy_req;
for (int i = 0; i < announce_info_arr_.size(); i++){
Staff_elem_info info = announce_info_arr_[i];
+ mtor << "Announcing " << info.elem_l_->name()<<"\n";
if (!info.req_l_)
info.req_l_ = &dummy_req;