pcbnew: EAGLE plugin is case sensitive to >VALUE / >NAME
Fixes https://gitlab.com/kicad/code/kicad/issues/10253
This commit is contained in:
parent
a5307c6f59
commit
82f147ecef
|
@ -1928,9 +1928,9 @@ void EAGLE_PLUGIN::packageText( FOOTPRINT* aFootprint, wxXmlNode* aTree ) const
|
|||
|
||||
FP_TEXT* txt;
|
||||
|
||||
if( t.text == ">NAME" || t.text == ">name" )
|
||||
if( t.text.MakeUpper() == ">NAME" )
|
||||
txt = &aFootprint->Reference();
|
||||
else if( t.text == ">VALUE" || t.text == ">value" )
|
||||
else if( t.text.MakeUpper() == ">VALUE" )
|
||||
txt = &aFootprint->Value();
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue