X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Frhythmic-head.cc;h=659ba339b7be5ff29f52004cfc7a52089f787ca3;hb=a640ea0e23770a906ec19eda0a67e556b49597fe;hp=00ef3ae020abadfe6e7da11dca70511c1428a3ae;hpb=44ad1d66c072e4d6545e75c769c86a460cb1df13;p=lilypond.git diff --git a/lily/rhythmic-head.cc b/lily/rhythmic-head.cc index 00ef3ae020..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--2006 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 @@ -49,11 +49,10 @@ Rhythmic_head::duration_log (Grob *me) } ADD_INTERFACE (Rhythmic_head, + "Note head or rest.", - "Note head or rest", - + /* properties */ "dot " "duration-log " "stem " ); -