diff --git a/src/system.cpp b/src/system.cpp index 2a070dba54f..cbf3e6748f3 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -341,7 +341,7 @@ void System::AddToDrawingListIfNecessary(Object *object) else if (object->Is(DYNAM)) { Dynam *dynam = vrv_cast(object); assert(dynam); - if (dynam->GetEnd() || (dynam->GetNextLink() && (dynam->GetExtender() == BOOLEAN_true))) { + if ((dynam->GetEnd() || dynam->GetNextLink()) && (dynam->GetExtender() == BOOLEAN_true)) { this->AddToDrawingList(dynam); } }