Commit 316d7b73 authored by lifekidyeaa's avatar lifekidyeaa

fixed a trivial bug in generating the erc file - changed Sheet->Path()

to PathHumanReadable().  
parent aeb903e2
......@@ -728,9 +728,9 @@ static bool WriteDiagnosticERC( const wxString& FullFileName )
for( Sheet = SheetList.GetFirst(); Sheet != NULL; Sheet = SheetList.GetNext() )
{
if(Sheet->Last() == g_RootSheet){
msg.Printf( _( "\n***** Sheet Root\n" ) );
msg.Printf( _( "\n***** Sheet / (Root) \n" ) );
}else{
wxString str = Sheet->Path();
wxString str = Sheet->PathHumanReadable();
msg.Printf( _("\n***** Sheet %s\n"), str.GetData() );
}
......
......@@ -5,7 +5,7 @@ include ../libs.linux
# Additional compiler flags
CPPFLAGS +=
CPPFLAGS +=
TARGET = eeschema
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment