summaryrefslogtreecommitdiff
path: root/lily/clef-reg.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lily/clef-reg.cc')
-rw-r--r--lily/clef-reg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lily/clef-reg.cc b/lily/clef-reg.cc
index fc1aef825b..f5687a1665 100644
--- a/lily/clef-reg.cc
+++ b/lily/clef-reg.cc
@@ -50,7 +50,7 @@ Clef_register::read_req(Clef_change_req*c_l)
void
Clef_register::acknowledge_element(Staff_elem_info info)
{
- if (info.elem_p_->name() == Bar::static_name()) {
+ if (info.elem_l_->name() == Bar::static_name()) {
if (!clef_p_){
create_clef();
clef_p_->change = false;