From e761df17f5ed0201a866239153144e408e0c6ddb Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 23 Nov 2020 01:09:29 +0000 Subject: [PATCH] Netnames are case sensitive. Fixes https://gitlab.com/kicad/code/kicad/issues/6460 --- common/refdes_utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/refdes_utils.cpp b/common/refdes_utils.cpp index fcf1095f22..aeeb446b6b 100644 --- a/common/refdes_utils.cpp +++ b/common/refdes_utils.cpp @@ -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 ); } }