fix very minor issue: Eeschema creating extra whitespace in .lib

This commit is contained in:
unknown 2016-03-20 15:53:02 +01:00 committed by jean-pierre charras
parent 00f9dbd095
commit 82b3744ddd
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ bool LIB_POLYLINE::Save( OUTPUTFORMATTER& aFormatter )
for( unsigned i = 0; i < GetCornerCount(); i++ )
{
aFormatter.Print( 0, " %d %d", m_PolyPoints[i].x, m_PolyPoints[i].y );
aFormatter.Print( 0, " %d %d", m_PolyPoints[i].x, m_PolyPoints[i].y );
}
aFormatter.Print( 0, " %c\n", fill_tab[m_Fill] );

View File

@ -71,7 +71,7 @@ bool LIB_TEXT::Save( OUTPUTFORMATTER& aFormatter )
text.Replace( wxT( " " ), wxT( "~" ) );
}
aFormatter.Print( 0, "T %g %d %d %d %d %d %d %s ", GetOrientation(), m_Pos.x, m_Pos.y,
aFormatter.Print( 0, "T %g %d %d %d %d %d %d %s", GetOrientation(), m_Pos.x, m_Pos.y,
m_Size.x, m_Attributs, m_Unit, m_Convert, TO_UTF8( text ) );
aFormatter.Print( 0, " %s %d", m_Italic ? "Italic" : "Normal", ( m_Bold > 0 ) ? 1 : 0 );