Fix typo.

This commit is contained in:
Jeff Young 2022-10-07 23:47:04 +01:00
parent 2577ebb94d
commit 79dabdd484
1 changed files with 2 additions and 2 deletions

View File

@ -244,8 +244,8 @@ void DRC_TEST_PROVIDER_COURTYARD_CLEARANCE_ON_MOVE::testCourtyardClearances()
if( !zone->GetIsRuleArea() || !zone->GetDoNotAllowFootprints() ) if( !zone->GetIsRuleArea() || !zone->GetDoNotAllowFootprints() )
continue; continue;
bool disallowFront = ( zone->GetLayerSet() | LSET::FrontMask() ).any(); bool disallowFront = ( zone->GetLayerSet() & LSET::FrontMask() ).any();
bool disallowBack = ( zone->GetLayerSet() | LSET::BackMask() ).any(); bool disallowBack = ( zone->GetLayerSet() & LSET::BackMask() ).any();
for( FOOTPRINT* fp : m_FpInMove ) for( FOOTPRINT* fp : m_FpInMove )
{ {