diff --git a/eeschema/sch_component.cpp b/eeschema/sch_component.cpp index 0136f605d9..5608016a16 100644 --- a/eeschema/sch_component.cpp +++ b/eeschema/sch_component.cpp @@ -1895,9 +1895,10 @@ bool SCH_COMPONENT::doIsConnected( const wxPoint& aPosition ) const bool SCH_COMPONENT::IsInNetlist() const { SCH_FIELD* rf = GetField( REFERENCE ); - return ! rf->GetText().StartsWith("#"); + return ! rf->GetText().StartsWith( wxT( "#" ) ); } + void SCH_COMPONENT::Plot( PLOTTER* aPlotter ) { LIB_COMPONENT* Entry;