diff options
author | Han-Wen Nienhuys <hanwen@xs4all.nl> | 2007-01-03 21:10:32 +0100 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@xs4all.nl> | 2007-01-03 21:10:32 +0100 |
commit | 69d6926cc800285a88cb1d6beed46d77b9a58f41 (patch) | |
tree | 7889b62352b4a1f888981054c1958116bcd3a5ac /lily/chord-tremolo-iterator.cc | |
parent | 75dfb90312313a05d40da464e42a847f9565e874 (diff) |
Coverage fixes.
Diffstat (limited to 'lily/chord-tremolo-iterator.cc')
-rw-r--r-- | lily/chord-tremolo-iterator.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lily/chord-tremolo-iterator.cc b/lily/chord-tremolo-iterator.cc index 45ddbc443d..1a785b9c4d 100644 --- a/lily/chord-tremolo-iterator.cc +++ b/lily/chord-tremolo-iterator.cc @@ -29,7 +29,9 @@ Chord_tremolo_iterator::get_music_list () const int elt_count = body_is_sequential ? scm_ilength (body->get_property ("elements")) : 1; - if (body_is_sequential && elt_count != 2) + if (body_is_sequential && + (elt_count != 2 + && elt_count != 1)) mus->origin ()->warning (_f ("expect 2 elements for chord tremolo, found %d", elt_count)); if (elt_count <= 0) |