On 8 August 2011 09:09, m...@apollinemike.com <m...@apollinemike.com> wrote:
> Question: on line 722 of axis-group-interface.cc, I see:
>
>      while (i + 1 < elements.size ()
>             && scm_eq_p (elements[i + 1]->get_property 
> ("outside-staff-priority"), priority))
>
> Shouldn't this be:
>
>      while (i + 1 < elements.size ()
>             && to_boolean (scm_eq_p (elements[i + 1]->get_property 
> ("outside-staff-priority"), priority)))

Good catch.

The Guile docs suggest using scm_eqv_p for this case:

"Numbers and characters are not equal to any other object, but the
problem is they're not necessarily eq? to themselves either."

Cheers,
Neil

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to