Fix typoed test condition for TH no hole pads PVS V501

This commit is contained in:
Marek Roszko 2022-02-05 11:31:56 -05:00
parent 193dee11e8
commit b9f1aaf029
1 changed files with 1 additions and 1 deletions

View File

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