]> git.cworth.org Git - scherzo/commit
Avoid duplicating notes within note_group_t and score_staff_t
authorCarl Worth <cworth@cworth.org>
Wed, 18 Sep 2013 18:00:02 +0000 (11:00 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 18 Sep 2013 18:00:02 +0000 (11:00 -0700)
commit2e37869bdeb7a9a6de2b758eb704320e00aae5c3
tree60af0402000fcbf190ecbb9af22d901daca302a4
parent1cfc79bb867bfa72e9982b79a65bd353bd120ee9
Avoid duplicating notes within note_group_t and score_staff_t

Previously, it was possible to have notes "stick" on the staff and not
clear off after releasing the note or pedal in some circumstances. We
fix a number of these bugs by checking to see if a note is already
present in a list before adding a duplicate copy of it.
scherzo.c
score.c