Pcbnew: fix bug: files written when layers have numeric name (like +24)cannot be read

Remove a printf clearly for debug, certainly a very old bug.
This commit is contained in:
jean-pierre charras
2017-02-27 08:12:07 +01:00
parent 249b0a0ce5
commit 3b7aa48d16
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -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);
}
+1 -1
View File
@@ -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();