X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fdots-engraver.cc;h=5465f460f6077e61d46fa4de53ffadbfe90b9495;hb=828310574b05b95170920eabb8142bf0e8f23182;hp=2efd2215b861ea4213f2d708869f35e6cb1b2c14;hpb=0fe24db3936774a8fb913cb14c997036db7aeb1c;p=lilypond.git diff --git a/lily/dots-engraver.cc b/lily/dots-engraver.cc index 2efd2215b8..5465f460f6 100644 --- a/lily/dots-engraver.cc +++ b/lily/dots-engraver.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2006--2014 Han-Wen Nienhuys + Copyright (C) 2006--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 @@ -43,10 +43,10 @@ Dots_engraver::acknowledge_rhythmic_head (Grob_info gi) return; Grob *note = gi.grob (); - if (Grob::is_smob (note->get_object ("dot"))) + if (unsmob (note->get_object ("dot"))) return; - Duration *dur = Duration::unsmob (cause->get_property ("duration")); + Duration *dur = unsmob (cause->get_property ("duration")); if (dur && dur->dot_count ()) { Item *d = make_item ("Dots", note->self_scm ());