Skip to content

Commit

Permalink
Fix ligature cast-off
Browse files Browse the repository at this point in the history
  • Loading branch information
lpugin committed Nov 8, 2024
1 parent 23b62b9 commit 666e951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/convertfunctor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ void ConvertToCastOffMensuralFunctor::InitSegment(Object *object)
LayerElement *element = NULL;
if (object->IsLayerElement()) element = vrv_cast<LayerElement *>(object);

if (element && (element->GetAlignment() == *m_currentBreakPoint)) {
if (element && element->GetAlignment() && (element->GetAlignment() == *m_currentBreakPoint)) {
m_targetStaff = NULL;
m_targetLayer = NULL;
std::advance(m_currentBreakPoint, 1);
Expand Down

0 comments on commit 666e951

Please sign in to comment.