/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 2008--2011 Han-Wen Nienhuys <hanwen@lilypond.org>
+ Copyright (C) 2008--2012 Han-Wen Nienhuys <hanwen@lilypond.org>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
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";