]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/new-dynamic-engraver.cc
Change class field in stream events to contain the complete event type list
[lilypond.git] / lily / new-dynamic-engraver.cc
index 1388235b1bcbec277bb50214f183165966a24038..749f9aaa164c496b4c9267df920f13db75ba9cdc 100644 (file)
@@ -242,7 +242,7 @@ string
 New_dynamic_engraver::get_spanner_type (Stream_event *ev)
 {
   string type;
-  SCM start_sym = ev->get_property ("class");
+  SCM start_sym = scm_car (ev->get_property ("class"));
 
   if (start_sym == ly_symbol2scm ("decrescendo-event"))
     type = "decrescendo";