diff --git a/pcbnew/files.cpp b/pcbnew/files.cpp index f3c1c14a86..71875a2dda 100644 --- a/pcbnew/files.cpp +++ b/pcbnew/files.cpp @@ -1101,7 +1101,7 @@ bool PCB_EDIT_FRAME::SavePcbCopy( const wxString& aFileName, bool aCreateProject wxFileName currentRules( GetDesignRulesPath() ); if( aCreateProject && currentRules.FileExists() && !rulesFile.FileExists() ) - KiCopyFile( currentRules, rulesFile.GetFullPath(), msg ); + KiCopyFile( currentRules.GetFullPath(), rulesFile.GetFullPath(), msg ); if( !msg.IsEmpty() ) {