Fix copy/paste error

This commit is contained in:
Jon Evans 2021-04-15 20:45:32 -04:00
parent 928d336bee
commit 64c8befa01
1 changed files with 1 additions and 1 deletions

View File

@ -1101,7 +1101,7 @@ bool PCB_EDIT_FRAME::SavePcbCopy( const wxString& aFileName, bool aCreateProject
wxFileName currentRules( GetDesignRulesPath() ); wxFileName currentRules( GetDesignRulesPath() );
if( aCreateProject && currentRules.FileExists() && !rulesFile.FileExists() ) if( aCreateProject && currentRules.FileExists() && !rulesFile.FileExists() )
KiCopyFile( currentRules, rulesFile.GetFullPath(), msg ); KiCopyFile( currentRules.GetFullPath(), rulesFile.GetFullPath(), msg );
if( !msg.IsEmpty() ) if( !msg.IsEmpty() )
{ {