Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #280771 midi entry on empty voice
Previous code would crash because cr would (correctly) be set to NULL when there are no elements in a particular track of input state's last segment. Once case this situtation occurs is when inputting midi for with a voice that hasn't been used before. This commit prevents this crash by making sure cr is non-NULL before testing if it is a chord.
- Loading branch information