Skip to content

Commit

Permalink
fix: crash when bar and clef change at start of music line with many …
Browse files Browse the repository at this point in the history
…voices

Issue #20.
  • Loading branch information
moinejf committed Apr 14, 2018
1 parent 4ab8a12 commit 070cfe6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions music.c
Original file line number Diff line number Diff line change
Expand Up @@ -3188,6 +3188,7 @@ static void init_music_line(void)
/* initialize the voices */
for (p_voice = first_voice; p_voice; p_voice = p_voice->next) {
voice = p_voice - voice_tb;
p_voice->last_sym = p_voice->sym;
if (cursys->voice[voice].range < 0)
continue;
p_voice->second = cursys->voice[voice].second;
Expand Down

0 comments on commit 070cfe6

Please sign in to comment.