Fix copy pasta

This commit is contained in:
Jon Evans 2020-09-25 21:20:54 -04:00
parent f4a8275f3e
commit bb8aa70ad0
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ bool WriteDRCReport( BOARD* aBoard, const wxString& aFileName, EDA_UNITS aUnits,
wxCHECK( engine, false ); wxCHECK( engine, false );
wxFileName fn = GetBoard()->GetFileName(); wxFileName fn = aBoard->GetFileName();
fn.SetExt( DesignRulesFileExtension ); fn.SetExt( DesignRulesFileExtension );
wxString drcRulesPath = s_SettingsManager->Prj().AbsolutePath( fn.GetFullName() ); wxString drcRulesPath = s_SettingsManager->Prj().AbsolutePath( fn.GetFullName() );