diff --git a/pcbnew/class_module.cpp b/pcbnew/class_module.cpp index 1da87ca3de..928c7d92b5 100644 --- a/pcbnew/class_module.cpp +++ b/pcbnew/class_module.cpp @@ -680,7 +680,7 @@ D_PAD* MODULE::FindPadByName( const wxString& aPadName ) const { for( D_PAD* pad = m_Pads; pad; pad = pad->Next() ) { - if( pad->GetName().CmpNoCase( aPadName ) == 0 ) // why case insensitive? + if( pad->GetName() == aPadName ) return pad; }