Layer must be between 0 and PCB_LAYER_ID_COUNT.
This commit is contained in:
parent
d25341901c
commit
da8d0472f5
|
@ -502,7 +502,7 @@ LSET DRC_RULES_PARSER::parseLayer()
|
|||
{
|
||||
reportError( wxString::Format( _( "Unrecognized layer '%s'." ),
|
||||
layerName ) );
|
||||
retVal.set( UNDEFINED_LAYER );
|
||||
retVal.set( Rescue );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue