Fix typoed test condition for TH no hole pads PVS V501
(cherry picked from commit b9f1aaf029
)
This commit is contained in:
parent
be958e3fdb
commit
71bcc9883a
|
@ -2137,7 +2137,7 @@ void FOOTPRINT::CheckFootprintTHPadNoHoles(
|
|||
&& pad->GetAttribute() != PAD_ATTRIB::NPTH )
|
||||
continue;
|
||||
|
||||
if( pad->GetDrillSizeX() < 1 || pad->GetDrillSizeX() < 1 )
|
||||
if( pad->GetDrillSizeX() < 1 || pad->GetDrillSizeY() < 1 )
|
||||
{
|
||||
wxString msg;
|
||||
msg.Printf( _( "(pad \"%s\")" ), pad->GetNumber() );
|
||||
|
|
Loading…
Reference in New Issue