Skip to content

Commit

Permalink
Merge pull request #143 from DDMAL/empty-syl-fix
Browse files Browse the repository at this point in the history
Fix empty syl not showing for neume lines
  • Loading branch information
yinanazhou authored Jun 18, 2024
2 parents de33c73 + e71c328 commit 5bf3635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iomei.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6985,7 +6985,7 @@ bool MEIInput::ReadStem(Object *parent, pugi::xml_node stem)
bool MEIInput::ReadSyl(Object *parent, pugi::xml_node syl)
{
// Add empty text node for empty syl element for invisible bbox in neume notation
if (!syl.first_child() && m_doc->IsFacs() && (m_doc->m_notationType == NOTATIONTYPE_neume)) {
if (!syl.first_child() && m_doc->HasFacsimile() && m_doc->IsNeumeLines()) {
syl.text().set("");
}
Syl *vrvSyl = new Syl();
Expand Down

0 comments on commit 5bf3635

Please sign in to comment.