Fix missing string-to-int conversion.
This commit is contained in:
parent
f08370b3dc
commit
0002eca70b
|
@ -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" ) )
|
||||
|
|
Loading…
Reference in New Issue