Use comma to separate diff pair nets/netclassse rather than /.

("/" is problematic because it's more likely to appear in netnames.)

Fixes https://gitlab.com/kicad/code/kicad/issues/12592
This commit is contained in:
Jeff Young 2022-10-20 23:58:03 +01:00
parent f9659a7e7c
commit 6fd195c389
1 changed files with 2 additions and 2 deletions

View File

@ -2422,7 +2422,7 @@ void ROUTER_TOOL::UpdateMessagePanel()
wxASSERT( netB ); wxASSERT( netB );
description = wxString::Format( _( "Routing Diff Pair: %s" ), description = wxString::Format( _( "Routing Diff Pair: %s" ),
netA->GetNetname() + wxT( "/" ) + netB->GetNetname() ); netA->GetNetname() + wxT( ", " ) + netB->GetNetname() );
wxString netclass; wxString netclass;
NETCLASS* netclassA = netA->GetNetClass(); NETCLASS* netclassA = netA->GetNetClass();
@ -2431,7 +2431,7 @@ void ROUTER_TOOL::UpdateMessagePanel()
if( netclassA == netclassB ) if( netclassA == netclassB )
netclass = netclassA->GetName(); netclass = netclassA->GetName();
else else
netclass = netclassA->GetName() + wxT( "/" ) + netclassB->GetName(); netclass = netclassA->GetName() + wxT( ", " ) + netclassB->GetName();
secondary = wxString::Format( _( "Resolved Netclass: %s" ), secondary = wxString::Format( _( "Resolved Netclass: %s" ),
UnescapeString( netclass ) ); UnescapeString( netclass ) );