Commit ee8901d9 authored by Karl Thorén's avatar Karl Thorén Committed by jean-pierre charras

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

parent 5c247857
...@@ -314,11 +314,11 @@ void TITLE_BLOCK::Format( OUTPUTFORMATTER* aFormatter, int aNestLevel, int aCont ...@@ -314,11 +314,11 @@ void TITLE_BLOCK::Format( OUTPUTFORMATTER* aFormatter, int aNestLevel, int aCont
aFormatter->Print( aNestLevel+1, "(company %s)\n", aFormatter->Print( aNestLevel+1, "(company %s)\n",
aFormatter->Quotew( GetCompany() ).c_str() ); aFormatter->Quotew( GetCompany() ).c_str() );
for( int ii = 0; ii < 3; ii++ ) for( int ii = 0; ii < 4; ii++ )
{ {
if( !GetComment(ii).IsEmpty() ) if( !GetComment(ii).IsEmpty() )
aFormatter->Print( aNestLevel+1, "(comment %d %s)\n", ii+1, 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" ); aFormatter->Print( aNestLevel, ")\n\n" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment