diff --git a/pcbnew/drc/drc_engine.cpp b/pcbnew/drc/drc_engine.cpp index 64fa896f9f..7e6b5df3d6 100644 --- a/pcbnew/drc/drc_engine.cpp +++ b/pcbnew/drc/drc_engine.cpp @@ -424,17 +424,12 @@ void DRC_ENGINE::loadImplicitRules() wxString name = zone->GetZoneName(); if( name.IsEmpty() ) - { rule = createImplicitRule( _( "keepout area" ) ); - name = zone->m_Uuid.AsString(); - } else - { rule = createImplicitRule( wxString::Format( _( "keepout area '%s'" ), name ) ); - } rule->m_Condition = new DRC_RULE_CONDITION( wxString::Format( "A.insideArea('%s')", - name ) ); + zone->m_Uuid.AsString() ) ); rule->m_LayerCondition = zone->GetLayerSet();