mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-11 00:30:01 +00:00
Fix typoed test condition for TH no hole pads PVS V501
This commit is contained in:
parent
193dee11e8
commit
b9f1aaf029
@ -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() );
|
||||
|
Loading…
Reference in New Issue
Block a user