pcad2kicadpcb: fixed an issue with an uppercase fileUnits parameter.

This commit is contained in:
Alexander Lunev 2016-05-22 11:01:19 +02:00 committed by jean-pierre charras
parent a9d08a620e
commit 42c47c7970
1 changed files with 1 additions and 1 deletions

View File

@ -684,7 +684,7 @@ void PCB::Parse( wxStatusBar* aStatusBar, wxXmlDocument* aXmlDoc, wxString aActu
if( aNode ) if( aNode )
{ {
m_defaultMeasurementUnit = aNode->GetNodeContent(); m_defaultMeasurementUnit = aNode->GetNodeContent().Lower();
m_defaultMeasurementUnit.Trim( true ); m_defaultMeasurementUnit.Trim( true );
m_defaultMeasurementUnit.Trim( false ); m_defaultMeasurementUnit.Trim( false );
} }