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:
Simon Richter 2016-08-25 03:16:28 +02:00 committed by Chris Pavlina
parent 3a92db4312
commit 91e953868a
1 changed files with 1 additions and 1 deletions

View File

@ -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 )
{