X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fdynamic-engraver.cc;h=c492e59c5540809829324fbf50bdcb6ad8f4ba88;hb=41839ed7390861d2a3f3fa31c5fc93a28599d99e;hp=06f16cf8a83bd52a80cebf22017650f138c3be62;hpb=f875ef39c544bd3499dae5360e9e24f69933575f;p=lilypond.git diff --git a/lily/dynamic-engraver.cc b/lily/dynamic-engraver.cc index 06f16cf8a8..c492e59c55 100644 --- a/lily/dynamic-engraver.cc +++ b/lily/dynamic-engraver.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2011 Han-Wen Nienhuys + Copyright (C) 1997--2012 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -121,7 +121,7 @@ Dynamic_engraver::listen_span_dynamic (Stream_event *ev) /* Cancel any ongoing crescendo, either explicitly by \! or implicitly by a new crescendo. Also avoid warning if cresc is - cancelled both implicitly and explicitly. */ + canceled both implicitly and explicitly. */ if ((d == STOP || current_cresc_ev_) && !accepted_spanevents_drul_[STOP]) ASSIGN_EVENT_ONCE (accepted_spanevents_drul_[STOP], ev); } @@ -215,7 +215,7 @@ Dynamic_engraver::process_music () TODO: Use symbols. */ - SCM start_sym = current_cresc_ev_->get_property ("class"); + SCM start_sym = scm_car (current_cresc_ev_->get_property ("class")); string start_type; if (start_sym == ly_symbol2scm ("decrescendo-event"))