diff --git a/pcbnew/footprint.cpp b/pcbnew/footprint.cpp index 135cda1dd7..a002904533 100644 --- a/pcbnew/footprint.cpp +++ b/pcbnew/footprint.cpp @@ -748,12 +748,12 @@ int FOOTPRINT::GetLikelyAttribute() const } } - if( tht_count > 0 ) - return FP_THROUGH_HOLE; - if( smd_count > 0 ) return FP_SMD; + if( tht_count > 0 ) + return FP_THROUGH_HOLE; + return 0; }