Fix Eagle footprint library QA test failure.
Unfortunately the KiCad library I/O does not unescape file names so do not escape them in the Eagle board plugin.
This commit is contained in:
parent
f22f5f47cb
commit
cf97432833
|
@ -1173,7 +1173,7 @@ void PCB_IO_EAGLE::loadLibrary( wxXmlNode* aLib, const wxString* aLibName )
|
||||||
if( !urnOrdinal.IsEmpty() )
|
if( !urnOrdinal.IsEmpty() )
|
||||||
pack_ref += wxS( "_" ) + urnOrdinal;
|
pack_ref += wxS( "_" ) + urnOrdinal;
|
||||||
|
|
||||||
pack_ref = EscapeString( pack_ref, CTX_LIBID );
|
ReplaceIllegalFileNameChars( pack_ref, '_' );
|
||||||
|
|
||||||
m_xpath->Value( pack_ref.ToUTF8() );
|
m_xpath->Value( pack_ref.ToUTF8() );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue