From b5a8c2a2a06ed2f4d1e83cafc213ac17baed8afd Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Tue, 15 Apr 2014 00:55:15 -0500 Subject: [PATCH] Don't know how it ever worked before, supporting project template kicad.pro --- common/project.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/project.cpp b/common/project.cpp index f031bf4b9e..002bfa7d4f 100644 --- a/common/project.cpp +++ b/common/project.cpp @@ -261,7 +261,7 @@ wxConfigBase* PROJECT::configCreate( const SEARCH_STACK& aSList, const wxString& } else // Version incorrect { - wxLogDebug( wxT( "Project file version is zero, not using this old project file, going with template.\n") ); + wxLogDebug( wxT( "Project file version is zero, not using this old project file, going with template." ) ); delete cfg; cfg = 0; } @@ -293,7 +293,7 @@ wxConfigBase* PROJECT::configCreate( const SEARCH_STACK& aSList, const wxString& // copy the template to cur_pro_fn, and open it at that destination. wxCopyFile( kicad_pro_template, cur_pro_fn ); - cfg = new wxFileConfig( wxEmptyString, wxEmptyString, wxEmptyString, cur_pro_fn ); + cfg = new wxFileConfig( wxEmptyString, wxEmptyString, cur_pro_fn, wxEmptyString ); cfg->DontCreateOnDemand();