X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fauto-change-iterator.cc;h=7b73db03caea743a8bd1ee6af3a2921c119c4ca0;hb=61bba8a98a53e424054b26d63ead26b0696ea29d;hp=01a46fd93c8f94d3dd8070314587c48fee3ab5bf;hpb=ba858880848d6aca1de4401d185860eb2017a01c;p=lilypond.git diff --git a/lily/auto-change-iterator.cc b/lily/auto-change-iterator.cc index 01a46fd93c..7b73db03ca 100644 --- a/lily/auto-change-iterator.cc +++ b/lily/auto-change-iterator.cc @@ -56,7 +56,7 @@ Auto_change_iterator::change_to (Music_iterator *it, SCM to_type_sym, current = current->get_parent_context (); } - if (current && current->id_string_ == to_id) + if (current && current->id_string () == to_id) { String msg; msg += _ ("Can't switch translators, I'm there already");