Fix board file layer type reading bug in pcbnew.

This commit is contained in:
Marco Mattila 2011-01-27 16:33:48 +02:00
parent c4bff79694
commit 2c7628fdf7
1 changed files with 1 additions and 1 deletions

View File

@ -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 );