Fix a compil issue.
This commit is contained in:
parent
7ccac79192
commit
f8ff104003
|
@ -856,9 +856,10 @@ bool PCB_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in
|
||||||
wxT( "There is no project variable?" ) );
|
wxT( "There is no project variable?" ) );
|
||||||
|
|
||||||
wxString result( newLibPath );
|
wxString result( newLibPath );
|
||||||
rel_path = result.Replace( env_path, wxT( "$(" ) + project_env + wxT( ")" ) )
|
rel_path = result.Replace( env_path,
|
||||||
? result
|
wxT( "$(" ) + project_env + wxT( ")" ) )
|
||||||
: wxEmptyString;
|
? result
|
||||||
|
: wxString( wxEmptyString );
|
||||||
|
|
||||||
FP_LIB_TABLE_ROW* row = new FP_LIB_TABLE_ROW( libNickName, rel_path,
|
FP_LIB_TABLE_ROW* row = new FP_LIB_TABLE_ROW( libNickName, rel_path,
|
||||||
wxT( "KiCad" ), wxEmptyString );
|
wxT( "KiCad" ), wxEmptyString );
|
||||||
|
|
Loading…
Reference in New Issue