Fix windows builder broken by 831a6d5

This commit is contained in:
Marek Roszko 2023-05-16 21:49:55 -04:00
parent ecbde8fc5f
commit aeadd49a33
1 changed files with 2 additions and 2 deletions

View File

@ -622,7 +622,7 @@ int SCH_EDITOR_CONTROL::SimProbe( const TOOL_EVENT& aEvent )
selectionTool->BrightenItem( m_pickerItem );
}
wxString connectionName = ( conn ) ? conn->Name() : wxS( "" );
wxString connectionName = ( conn ) ? conn->Name() : wxString( wxS( "" ) );
if( m_frame->GetHighlightedConnection() != connectionName )
{
@ -798,7 +798,7 @@ static bool highlightNet( TOOL_MANAGER* aToolMgr, const VECTOR2D& aPosition )
}
}
wxString connectionName = ( conn ) ? conn->Name() : wxS( "" );
wxString connectionName = ( conn ) ? conn->Name() : wxString( wxS( "" ) );
if( !conn || connectionName == editFrame->GetHighlightedConnection() )
{