diff --git a/eeschema/sch_sheet_pin.cpp b/eeschema/sch_sheet_pin.cpp index 048ffb1a98..b4c76977c2 100644 --- a/eeschema/sch_sheet_pin.cpp +++ b/eeschema/sch_sheet_pin.cpp @@ -206,9 +206,6 @@ void SCH_SHEET_PIN::ConstrainOnEdge( wxPoint Pos ) if( m_Pos.x > (sheet->m_pos.x + sheet->m_size.x) ) m_Pos.x = sheet->m_pos.x + sheet->m_size.x; } - - printf( "centre %d %d, pos %d %d, pinpos %d %d, edge %d\n", - center.x, center.y, Pos.x, Pos.y, m_Pos.x, m_Pos.y, m_edge); } diff --git a/pcbnew/pcb_parser.cpp b/pcbnew/pcb_parser.cpp index 59c6ae01a5..45d6c690d7 100644 --- a/pcbnew/pcb_parser.cpp +++ b/pcbnew/pcb_parser.cpp @@ -790,7 +790,7 @@ void PCB_PARSER::parseLayer( LAYER* aLayer ) throw( IO_ERROR, PARSE_ERROR ) // this layer_num is not used, we DO depend on LAYER_T however. LAYER_NUM layer_num = parseInt( "layer index" ); - NeedSYMBOL(); + NeedSYMBOLorNUMBER(); name = CurText(); NeedSYMBOL();