Skip to content

Commit

Permalink
prevent unnecessary collapse on some horizontal episemus
Browse files Browse the repository at this point in the history
  • Loading branch information
eroux committed May 7, 2015
1 parent 8bd58c4 commit 675fba5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gregoriotex/gregoriotex-write.c
Original file line number Diff line number Diff line change
Expand Up @@ -2981,6 +2981,7 @@ static void gregoriotex_write_signs(FILE *f, gtex_type type,
current_note->h_episemus_top_note = current_note->next->next->u.note.pitch;
current_note->next->h_episemus_top_note = current_note->next->next->u.note.pitch;
}
current_note->next->next->h_episemus_type = H_NO_EPISEMUS; // I don't think a check for a bottom episemus makes sense here...
gregoriotex_write_hepisemus(f, glyph, element,
HEPISEMUS_FIRST_TWO, type, current_note);
block_hepisemus = 1;
Expand All @@ -2995,6 +2996,7 @@ static void gregoriotex_write_signs(FILE *f, gtex_type type,
current_note->h_episemus_top_note = current_note->next->next->u.note.pitch;
current_note->next->h_episemus_top_note = current_note->next->next->u.note.pitch;
}
current_note->next->next->h_episemus_type = H_NO_EPISEMUS; // I don't think a check for a bottom episemus makes sense here...
gregoriotex_write_hepisemus(f, glyph, element,
HEPISEMUS_FIRST_TWO, type, current_note);
block_hepisemus = 1;
Expand Down

0 comments on commit 675fba5

Please sign in to comment.