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:
Thomas Pointhuber 2020-10-18 15:23:07 +02:00
parent ebc0d47239
commit 3ced74d19c
1 changed files with 2 additions and 1 deletions

View File

@ -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;