lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix crash in partcombine with empty music


From: Han-Wen Nienhuys
Subject: Re: Fix crash in partcombine with empty music
Date: Fri, 21 Dec 2007 00:08:45 -0200

2007/12/19, Reinhold Kainhofer <address@hidden>:
> Attached is a trivial patch for partcombine to avoid a crash when at least one
> of the two combined music expressions is empty:
>
> I usually start with the general structure of a large score
> and only then fill it with music. This means that partcombine
> is fed two empty music expressions, so that evs1 and evs2 won't contain
> data and (assoc "one" evs1) will be an empty list => cdr on
> it will crash.
> In this case, simply set the split list to an empty list and
> don't crash...
>

Looks good to me. Please add example .ly to input/regression/

-- 
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]