All: Fix bug #1196277 (pcbnew does not save all parts of the title block to the kicad_pcb file)

This commit is contained in:
Karl Thorén 2013-06-30 19:40:33 +02:00 committed by jean-pierre charras
parent 5c247857d3
commit ee8901d9dd
1 changed files with 2 additions and 2 deletions

View File

@ -314,11 +314,11 @@ void TITLE_BLOCK::Format( OUTPUTFORMATTER* aFormatter, int aNestLevel, int aCont
aFormatter->Print( aNestLevel+1, "(company %s)\n",
aFormatter->Quotew( GetCompany() ).c_str() );
for( int ii = 0; ii < 3; ii++ )
for( int ii = 0; ii < 4; ii++ )
{
if( !GetComment(ii).IsEmpty() )
aFormatter->Print( aNestLevel+1, "(comment %d %s)\n", ii+1,
aFormatter->Quotew( GetComment(1) ).c_str() );
aFormatter->Quotew( GetComment(ii) ).c_str() );
}
aFormatter->Print( aNestLevel, ")\n\n" );