From b9f1aaf02969593cdbb683789568b84606039007 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Sat, 5 Feb 2022 11:31:56 -0500 Subject: [PATCH] Fix typoed test condition for TH no hole pads PVS V501 --- pcbnew/footprint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/footprint.cpp b/pcbnew/footprint.cpp index 017b6a318a..db12d07662 100644 --- a/pcbnew/footprint.cpp +++ b/pcbnew/footprint.cpp @@ -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() );