Fix typoed test condition for TH no hole pads PVS V501

(cherry picked from commit b9f1aaf029)
This commit is contained in:
Marek Roszko 2022-02-05 11:31:56 -05:00 committed by Mark Roszko
parent be958e3fdb
commit 71bcc9883a
1 changed files with 1 additions and 1 deletions

View File

@ -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() );