altium: Properties are normaly stored in Upper case, but Altium decided CamelCase are good as well
Fix: https://gitlab.com/kicad/code/kicad/-/issues/6044
This commit is contained in:
parent
ebc0d47239
commit
3ced74d19c
|
@ -109,7 +109,8 @@ std::map<wxString, wxString> ALTIUM_PARSER::ReadProperties()
|
||||||
wxString key( keyS.c_str(), wxConvISO8859_1 );
|
wxString key( keyS.c_str(), wxConvISO8859_1 );
|
||||||
wxString value( valueS.c_str(), wxConvISO8859_1 );
|
wxString value( valueS.c_str(), wxConvISO8859_1 );
|
||||||
|
|
||||||
kv.insert( { key.Trim(), value.Trim() } );
|
// Altium stores keys either in Upper, or in CamelCase. Lets unify it.
|
||||||
|
kv.insert( { key.Trim().MakeUpper(), value.Trim() } );
|
||||||
}
|
}
|
||||||
|
|
||||||
return kv;
|
return kv;
|
||||||
|
|
Loading…
Reference in New Issue