Fix missing string-to-int conversion.

This commit is contained in:
Jeff Young 2023-08-31 15:15:40 +01:00
parent f08370b3dc
commit 0002eca70b
1 changed files with 1 additions and 1 deletions

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" ) )