diff --git a/eeschema/sch_plugins/eagle/sch_eagle_plugin.cpp b/eeschema/sch_plugins/eagle/sch_eagle_plugin.cpp index b946fe0caa..8967d75ca2 100644 --- a/eeschema/sch_plugins/eagle/sch_eagle_plugin.cpp +++ b/eeschema/sch_plugins/eagle/sch_eagle_plugin.cpp @@ -2482,11 +2482,12 @@ void SCH_EAGLE_PLUGIN::addBusEntries() if( testBusHit( wireStart + entrySize( -1, 0 ) ) ) { - // there is room to the left of the wire for the bus entry - // | - // | - // / - // ----- + /* there is room to the left of the wire for the bus entry + * | + * | + * / + * ----- + */ SCH_BUS_WIRE_ENTRY* busEntry = new SCH_BUS_WIRE_ENTRY( p, 3 ); busEntry->SetFlags( IS_NEW ); m_currentSheet->GetScreen()->Append( busEntry ); @@ -2495,11 +2496,12 @@ void SCH_EAGLE_PLUGIN::addBusEntries() } else if( testBusHit( wireStart + entrySize( 1, 0 ) ) ) { - // there is room to the right of the wire for the bus entry - // | - // | - // \ - // ----- + /* there is room to the right of the wire for the bus entry + * | + * | + * \ + * ----- + */ SCH_BUS_WIRE_ENTRY* busEntry = new SCH_BUS_WIRE_ENTRY( p, 2 ); busEntry->SetFlags( IS_NEW ); m_currentSheet->GetScreen()->Append( busEntry ); @@ -2523,11 +2525,12 @@ void SCH_EAGLE_PLUGIN::addBusEntries() if( testBusHit( wireStart + entrySize( -1, 0 ) ) ) { - // there is room to the left of the wire for the bus entry - // ----- - // \ - // | - // | + /* there is room to the left of the wire for the bus entry + * ----- + * \ + * | + * | + */ SCH_BUS_WIRE_ENTRY* busEntry = new SCH_BUS_WIRE_ENTRY( p, 4 ); busEntry->SetFlags( IS_NEW ); m_currentSheet->GetScreen()->Append( busEntry ); @@ -2536,11 +2539,12 @@ void SCH_EAGLE_PLUGIN::addBusEntries() } else if( testBusHit( wireStart + entrySize( 1, 0 ) ) ) { - // there is room to the right of the wire for the bus entry - // ----- - // / - // | - // | + /* there is room to the right of the wire for the bus entry + * ----- + * / + * | + * | + */ SCH_BUS_WIRE_ENTRY* busEntry = new SCH_BUS_WIRE_ENTRY( p, 1 ); busEntry->SetFlags( IS_NEW ); m_currentSheet->GetScreen()->Append( busEntry ); @@ -2571,11 +2575,12 @@ void SCH_EAGLE_PLUGIN::addBusEntries() if( testBusHit( wireEnd + entrySize( -1, 0 ) ) ) { - // there is room to the left of the wire for the bus entry - // | - // | - // / - // ----- + /* there is room to the left of the wire for the bus entry + * | + * | + * / + * ----- + */ SCH_BUS_WIRE_ENTRY* busEntry = new SCH_BUS_WIRE_ENTRY( p, 3 ); busEntry->SetFlags( IS_NEW ); m_currentSheet->GetScreen()->Append( busEntry ); @@ -2584,11 +2589,12 @@ void SCH_EAGLE_PLUGIN::addBusEntries() } else if( testBusHit( wireEnd + entrySize( 1, 0 ) ) ) { - // there is room to the right of the wire for the bus entry - // | - // | - // \ - // ----- + /* there is room to the right of the wire for the bus entry + * | + * | + * \ + * ----- + */ SCH_BUS_WIRE_ENTRY* busEntry = new SCH_BUS_WIRE_ENTRY( p, 2 ); busEntry->SetFlags( IS_NEW ); m_currentSheet->GetScreen()->Append( busEntry ); @@ -2612,11 +2618,12 @@ void SCH_EAGLE_PLUGIN::addBusEntries() if( testBusHit( wireEnd + entrySize( -1, 0 ) ) ) { - // there is room to the left of the wire for the bus entry - // ----- - // \ - // | - // | + /* there is room to the left of the wire for the bus entry + * ----- + * \ + * | + * | + */ SCH_BUS_WIRE_ENTRY* busEntry = new SCH_BUS_WIRE_ENTRY( p, 4 ); busEntry->SetFlags( IS_NEW ); m_currentSheet->GetScreen()->Append( busEntry ); diff --git a/kicad/kicad_manager_frame.h b/kicad/kicad_manager_frame.h index ffb70010ce..87ea0baaec 100644 --- a/kicad/kicad_manager_frame.h +++ b/kicad/kicad_manager_frame.h @@ -51,7 +51,7 @@ public: bool canCloseWindow( wxCloseEvent& aCloseEvent ) override; void doCloseWindow() override; - void OnSize( wxSizeEvent& event ); + void OnSize( wxSizeEvent& event ) override; void OnArchiveFiles( wxCommandEvent& event ); void OnUnarchiveFiles( wxCommandEvent& event );