LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- SCM name_sym = break_events_[i]->get_property ("class");
- string name = ly_scm2string (scm_symbol_to_string (name_sym));
+ SCM name_sym = scm_car (break_events_[i]->get_property ("class"));
+ string name = ly_symbol2string (name_sym);
size_t end = name.rfind ("-event");
if (end)
prefix = name.substr (0, end);
size_t end = name.rfind ("-event");
if (end)
prefix = name.substr (0, end);