Fix disabled layer error text

This commit is contained in:
Jon Evans 2021-09-12 17:14:24 -04:00
parent 62f7a09290
commit 814b6b8e86
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ void DRC_TEST_PROVIDER_MISC::testDisabledLayers()
{
std::shared_ptr<DRC_ITEM>drcItem = DRC_ITEM::Create( DRCE_DISABLED_LAYER_ITEM );
m_msg.Printf( _( "(layer %s)" ), badLayer );
m_msg.Printf( _( "(layer %s)" ), LayerName( badLayer ) );
drcItem->SetErrorMessage( drcItem->GetErrorText() + wxS( " " ) + m_msg );
drcItem->SetItems( item );