From 42c47c79707770365f0e8400d7993350e193726e Mon Sep 17 00:00:00 2001 From: Alexander Lunev Date: Sun, 22 May 2016 11:01:19 +0200 Subject: [PATCH] pcad2kicadpcb: fixed an issue with an uppercase fileUnits parameter. --- pcbnew/pcad2kicadpcb_plugin/pcb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/pcad2kicadpcb_plugin/pcb.cpp b/pcbnew/pcad2kicadpcb_plugin/pcb.cpp index 8f5316b47c..feedb83135 100644 --- a/pcbnew/pcad2kicadpcb_plugin/pcb.cpp +++ b/pcbnew/pcad2kicadpcb_plugin/pcb.cpp @@ -684,7 +684,7 @@ void PCB::Parse( wxStatusBar* aStatusBar, wxXmlDocument* aXmlDoc, wxString aActu if( aNode ) { - m_defaultMeasurementUnit = aNode->GetNodeContent(); + m_defaultMeasurementUnit = aNode->GetNodeContent().Lower(); m_defaultMeasurementUnit.Trim( true ); m_defaultMeasurementUnit.Trim( false ); }