]> git.donarmstrong.com Git - lilypond.git/commit
Partcombine: Fix crash when empty music is passed
authorReinhold Kainhofer <reinhold@kainhofer.com>
Wed, 19 Dec 2007 22:28:24 +0000 (23:28 +0100)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Mon, 4 Feb 2008 16:24:34 +0000 (17:24 +0100)
commit17dd34fba0bea779168c8b1f9346438abfc8248e
treeb1fb420da9956f0444b181aa6f96223a1df080e9
parent8d231e4be9553f8c75044227e2b6eabb03567e96
Partcombine: Fix crash when empty music is passed

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 (or only containing one
multi-measure rest each), 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...

Signed-off-by: Reinhold Kainhofer <reinhold@kainhofer.com>
scm/part-combiner.scm