footprint save to use untranslated (English) layer names

This commit is contained in:
Dick Hollenbeck 2012-11-09 13:00:00 -06:00
parent 272936ef21
commit d378dcc734
1 changed files with 3 additions and 2 deletions

View File

@ -1050,8 +1050,9 @@ void PCB_IO::format( D_PAD* aPad, int aNestLevel ) const
{
if( m_board )
layerName = m_board->GetLayerName( layer );
else
layerName = BOARD::GetDefaultLayerName( layer, true );
else // from FootprintSave()
layerName = BOARD::GetDefaultLayerName( layer, false );
m_out->Print( 0, " %s", m_out->Quotew( layerName ).c_str() );
}