DRC: Test all segments
The DRC also runs per-segment tests, not just segment-segment, so the last segment needs to be tested as well, with an empty list of segments to test against.
This commit is contained in:
parent
3a92db4312
commit
91e953868a
|
@ -514,7 +514,7 @@ void DRC::testTracks( wxWindow *aActiveWindow, bool aShowProgressBar )
|
|||
int ii = 0;
|
||||
count = 0;
|
||||
|
||||
for( TRACK* segm = m_pcb->m_Track; segm && segm->Next(); segm = segm->Next() )
|
||||
for( TRACK* segm = m_pcb->m_Track; segm; segm = segm->Next() )
|
||||
{
|
||||
if ( ii++ > delta )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue