Commit 2c7628fd authored by Marco Mattila's avatar Marco Mattila

Fix board file layer type reading bug in pcbnew.

parent c4bff796
......@@ -374,7 +374,7 @@ int WinEDA_BasePcbFrame::ReadSetup( LINE_READER* aReader )
wxString layerName = CONV_FROM_UTF8( data );
GetBoard()->SetLayerName( layer, layerName );
data = strtok( NULL, " " );
data = strtok( NULL, " \n\r" );
if( data )
{
LAYER_T type = LAYER::ParseType( data );
......
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