IPC-2581: BomHeader assembly needs to be genStringified

This commit is contained in:
Jon Evans 2023-12-06 17:02:50 -05:00
parent 2674a2a294
commit 9fcff5e701
1 changed files with 1 additions and 1 deletions

View File

@ -1231,7 +1231,7 @@ wxXmlNode* IPC2581_PLUGIN::generateBOMSection( wxXmlNode* aEcadNode )
wxXmlNode* bomHeaderNode = appendNode( bomNode, "BomHeader" );
addAttribute( bomHeaderNode, "revision", "1.0" );
addAttribute( bomHeaderNode, "assembly", wxString::Format( "%s", fn.GetName() ) );
addAttribute( bomHeaderNode, "assembly", genString( fn.GetName() ) );
wxXmlNode* stepRefNode = appendNode( bomHeaderNode, "StepRef" );
addAttribute( stepRefNode, "name", genString( fn.GetName(), "BOARD" ) );