X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Frhythmic-head.cc;h=659ba339b7be5ff29f52004cfc7a52089f787ca3;hb=38408524c283578cff6d5475ac2776ef81a2dcde;hp=436da6b612998f8c5dd6573f019248baefab4449;hpb=41e45dd730c075e78065dfa78e5e54be664d905e;p=lilypond.git diff --git a/lily/rhythmic-head.cc b/lily/rhythmic-head.cc index 436da6b612..659ba339b7 100644 --- a/lily/rhythmic-head.cc +++ b/lily/rhythmic-head.cc @@ -3,16 +3,16 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2007 Han-Wen Nienhuys + (c) 1997--2009 Han-Wen Nienhuys */ #include "rhythmic-head.hh" -#include "warn.hh" +#include "item.hh" #include "rest.hh" -#include "stem.hh" #include "staff-symbol-referencer.hh" -#include "item.hh" +#include "stem.hh" +#include "warn.hh" Item * Rhythmic_head::get_dots (Grob *me) @@ -32,7 +32,7 @@ int Rhythmic_head::dot_count (Grob *me) { return get_dots (me) - ? scm_to_int (get_dots (me)->get_property ("dot-count")) : 0; + ? robust_scm2int (get_dots (me)->get_property ("dot-count"), 0) : 0; } void @@ -50,7 +50,7 @@ Rhythmic_head::duration_log (Grob *me) ADD_INTERFACE (Rhythmic_head, "Note head or rest.", - + /* properties */ "dot " "duration-log "