Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
jey5nd6 authored and craftyjon committed Oct 25, 2022
1 parent 8c3cd20 commit 882756b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcbnew/router/pns_kicad_iface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ int PNS_PCBNEW_RULE_RESOLVER::Clearance( const PNS::ITEM* aA, const PNS::ITEM* a
layers = aA->Layers().Intersection( aB->Layers() );

// Normalize layer range (no -1 magic numbers)
layers = layers.Intersection( LAYER_RANGE( PCBNEW_LAYER_ID_START, GAL_LAYER_ID_END ) );
layers = layers.Intersection( LAYER_RANGE( PCBNEW_LAYER_ID_START, PCB_LAYER_ID_COUNT - 1 ) );

for( int layer = layers.Start(); layer <= layers.End(); ++layer )
{
Expand Down

0 comments on commit 882756b

Please sign in to comment.