Fix type in SelectConnection.

Fixes https://gitlab.com/kicad/code/kicad/issues/12341
This commit is contained in:
Jeff Young 2022-09-10 20:56:17 +01:00
parent 52ea9d0bc5
commit eb70934457
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ std::set<SCH_ITEM*> SCH_SCREEN::MarkConnections( SCH_LINE* aSegment, bool aSecon
// Skip connecting lines on different layers (e.g. buses)
if( item->GetLayer() != line->GetLayer() )
break;
continue;
for( VECTOR2I pt : { line->GetStartPoint(), line->GetEndPoint() } )
{