Fix missing string-to-int conversion.

This commit is contained in:
Jeff Young
2023-08-31 15:15:57 +01:00
parent f08370b3dc
commit 0002eca70b
+1 -1
View File
@@ -106,7 +106,7 @@ bool PNS_LOG_FILE::parseCommonPnsProps( PNS::ITEM* aItem, const wxString& cmd,
{
if( cmd == wxS( "net" ) )
{
aItem->SetNet( m_board->FindNet( aTokens.GetNextToken() ) );
aItem->SetNet( m_board->FindNet( wxAtoi( aTokens.GetNextToken() ) ) );
return true;
}
else if( cmd == wxS( "layers" ) )