Fix typo in QueryConstraint switch

This commit is contained in:
Lucas Dumont 2023-04-25 05:40:48 +12:00 committed by Jeff Young
parent d816fb071f
commit 2992d7c68b
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ bool PNS_PCBNEW_RULE_RESOLVER::QueryConstraint( PNS::CONSTRAINT_TYPE aType,
case PNS::ITEM::VIA_T: parentA = &m_dummyVias[0]; break;
case PNS::ITEM::SEGMENT_T: parentA = &m_dummyTracks[0]; break;
case PNS::ITEM::LINE_T: parentA = &m_dummyTracks[0]; break;
case PNS::ITEM::HOLE_T: parentB = &m_dummyVias[0]; break;
case PNS::ITEM::HOLE_T: parentA = &m_dummyVias[0]; break;
default: break;
}