Commit 54e221cf authored by Dick Hollenbeck's avatar Dick Hollenbeck

fix portion of bug 928330 mentioned in comment #2

parent b90d657c
......@@ -1101,7 +1101,7 @@ int PCB_EDIT_FRAME::ReadPcbFile( LINE_READER* aReader, bool Append )
continue;
}
if( TESTLINE( "PCB_TARGET" ) )
if( TESTLINE( "PCB_TARGET" ) || TESTLINE( "MIREPCB" ) )
{
PCB_TARGET* t = new PCB_TARGET( board );
board->Add( t, ADD_APPEND );
......
......@@ -256,7 +256,7 @@ void KICAD_PLUGIN::loadAllSections( bool doAppend )
loadDIMENSION();
}
else if( TESTLINE( "$PCB_TARGET" ) )
else if( TESTLINE( "$PCB_TARGET" ) || TESTLINE( "$MIREPCB" ) )
{
loadPCB_TARGET();
}
......@@ -2459,7 +2459,7 @@ void KICAD_PLUGIN::loadPCB_TARGET()
const char* data;
char* line = m_reader->Line();
if( TESTLINE( "$EndPCB_TARGET" ) )
if( TESTLINE( "$EndPCB_TARGET" ) || TESTLINE( "$EndMIREPCB" ) )
{
return; // preferred exit
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment