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

to PathHumanReadable().
This commit is contained in:
lifekidyeaa 2008-02-28 22:49:06 +00:00
parent aeb903e2a2
commit 316d7b7353
2 changed files with 3 additions and 3 deletions

View File

@ -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() );
}