Altium: remove illegal chars from library name.
This commit is contained in:
parent
7dfac51fe1
commit
8a4f203963
|
@ -30,9 +30,10 @@
|
|||
|
||||
LIB_ID AltiumToKiCadLibID( const wxString& aLibName, const wxString& aLibReference )
|
||||
{
|
||||
wxString libName = LIB_ID::FixIllegalChars( aLibName, true );
|
||||
wxString libReference = EscapeString( aLibReference, CTX_LIBID );
|
||||
|
||||
wxString key = !aLibName.empty() ? ( aLibName + ":" + libReference ) : libReference;
|
||||
wxString key = !libName.empty() ? ( libName + ":" + libReference ) : libReference;
|
||||
|
||||
LIB_ID libId;
|
||||
libId.Parse( key, true );
|
||||
|
|
Loading…
Reference in New Issue