Netnames are case sensitive.

Fixes https://gitlab.com/kicad/code/kicad/issues/6460
This commit is contained in:
Jeff Young 2020-11-23 01:09:29 +00:00
parent dd60fd47b2
commit e761df17f5
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ int RefDesStringCompare( const wxString& aFirst, const wxString& aSecond )
SplitString( strSWord, &strSWordBeg, &strSWordMid, &strSWordEnd );
// Compare the Beginning section of the strings
int isEqual = strFWordBeg.CmpNoCase( strSWordBeg );
int isEqual = strFWordBeg.Cmp( strSWordBeg );
if( isEqual > 0 )
return 1;
@ -78,7 +78,7 @@ int RefDesStringCompare( const wxString& aFirst, const wxString& aSecond )
return -1;
// If the first two sections are equal compare the endings
else
return strFWordEnd.CmpNoCase( strSWordEnd );
return strFWordEnd.Cmp( strSWordEnd );
}
}