Fix a compil issue.

This commit is contained in:
jean-pierre charras 2022-02-05 11:16:56 +01:00 committed by Jeff Young
parent 7ccac79192
commit f8ff104003
1 changed files with 4 additions and 3 deletions

View File

@ -856,9 +856,10 @@ bool PCB_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in
wxT( "There is no project variable?" ) );
wxString result( newLibPath );
rel_path = result.Replace( env_path, wxT( "$(" ) + project_env + wxT( ")" ) )
? result
: wxEmptyString;
rel_path = result.Replace( env_path,
wxT( "$(" ) + project_env + wxT( ")" ) )
? result
: wxString( wxEmptyString );
FP_LIB_TABLE_ROW* row = new FP_LIB_TABLE_ROW( libNickName, rel_path,
wxT( "KiCad" ), wxEmptyString );