fixed a trivial bug in generating the erc file - changed Sheet->Path()
to PathHumanReadable().
This commit is contained in:
parent
aeb903e2a2
commit
316d7b7353
|
@ -728,9 +728,9 @@ static bool WriteDiagnosticERC( const wxString& FullFileName )
|
||||||
for( Sheet = SheetList.GetFirst(); Sheet != NULL; Sheet = SheetList.GetNext() )
|
for( Sheet = SheetList.GetFirst(); Sheet != NULL; Sheet = SheetList.GetNext() )
|
||||||
{
|
{
|
||||||
if(Sheet->Last() == g_RootSheet){
|
if(Sheet->Last() == g_RootSheet){
|
||||||
msg.Printf( _( "\n***** Sheet Root\n" ) );
|
msg.Printf( _( "\n***** Sheet / (Root) \n" ) );
|
||||||
}else{
|
}else{
|
||||||
wxString str = Sheet->Path();
|
wxString str = Sheet->PathHumanReadable();
|
||||||
msg.Printf( _("\n***** Sheet %s\n"), str.GetData() );
|
msg.Printf( _("\n***** Sheet %s\n"), str.GetData() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ include ../libs.linux
|
||||||
|
|
||||||
|
|
||||||
# Additional compiler flags
|
# Additional compiler flags
|
||||||
CPPFLAGS +=
|
CPPFLAGS +=
|
||||||
|
|
||||||
TARGET = eeschema
|
TARGET = eeschema
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue