Layer must be between 0 and PCB_LAYER_ID_COUNT.

This commit is contained in:
Jeff Young 2021-02-04 00:55:37 +00:00
parent d25341901c
commit da8d0472f5
1 changed files with 1 additions and 1 deletions

View File

@ -502,7 +502,7 @@ LSET DRC_RULES_PARSER::parseLayer()
{
reportError( wxString::Format( _( "Unrecognized layer '%s'." ),
layerName ) );
retVal.set( UNDEFINED_LAYER );
retVal.set( Rescue );
}
}