diff --git a/pcbnew/padstack.cpp b/pcbnew/padstack.cpp index 5b26dee378..faf066af21 100644 --- a/pcbnew/padstack.cpp +++ b/pcbnew/padstack.cpp @@ -596,6 +596,8 @@ int PADSTACK::Compare( const PADSTACK* aPadstackRef, const PADSTACK* aPadstackCm }; aPadstackRef->ForEachUniqueLayer( compareCopperProps ); + if( diff ) + return diff; if( ( diff = static_cast( aPadstackRef->DrillShape() ) - static_cast( aPadstackCmp->DrillShape() ) ) != 0 )