Context_specced_music_iterator::construct_children ()
{
SCM ct = get_music ()->get_mus_property ("context-type");
- String c_type;
- if (gh_string_p (ct))
- c_type = ly_scm2string (ct);
-
+
String c_id;
SCM ci = get_music ()->get_mus_property ("context-id");
if (gh_string_p (ci))
c_id = ly_scm2string (ci);
Translator_group* a
- =report_to ()->find_create_translator (c_type, c_id);
+ =report_to ()->find_create_translator (ct, c_id);
set_translator (a);