Fix loading legacy (until 2009) schematic files.

(cherry picked from commit b87496b834)
This commit is contained in:
Alex Shvartzkop 2023-10-14 15:41:38 +03:00
parent 8f4b809599
commit 0547c7ba91
1 changed files with 2 additions and 0 deletions

View File

@ -353,6 +353,8 @@ void SCH_LEGACY_PLUGIN::LoadContent( LINE_READER& aReader, SCH_SCREEN* aScreen,
aScreen->Append( loadText( aReader ) );
else if( strCompare( "BusAlias", line ) )
aScreen->AddBusAlias( loadBusAlias( aReader, aScreen ) );
else if( strCompare( "Kmarq", line ) )
continue; // Ignore legacy (until 2009) ERC marker entry
else if( strCompare( "$EndSCHEMATC", line ) )
return;
else