X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fvolta-engraver.cc;h=fe568a5fd50bbbd7057371a1a2c67fc8b85916e0;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=f92d8f968f973a068ba4e9541df554892f4ee546;hpb=e8b68d8a878a0ee0381719230cf911dbcefa168d;p=lilypond.git diff --git a/lily/volta-engraver.cc b/lily/volta-engraver.cc index f92d8f968f..fe568a5fd5 100644 --- a/lily/volta-engraver.cc +++ b/lily/volta-engraver.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2000--2014 Han-Wen Nienhuys + Copyright (C) 2000--2015 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 @@ -99,7 +99,7 @@ Volta_engraver::process_music () SCM l (get_property ("voltaSpannerDuration")); Moment now = now_mom (); - bool early_stop = Moment::unsmob (l) + bool early_stop = Moment::is_smob (l) && *Moment::unsmob (l) <= now - started_mom_; end = end || early_stop;