diff --git a/eeschema/lib_polyline.cpp b/eeschema/lib_polyline.cpp index 9c2489940a..826adca04a 100644 --- a/eeschema/lib_polyline.cpp +++ b/eeschema/lib_polyline.cpp @@ -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] ); diff --git a/eeschema/lib_text.cpp b/eeschema/lib_text.cpp index e931a1f48d..be8ad78402 100644 --- a/eeschema/lib_text.cpp +++ b/eeschema/lib_text.cpp @@ -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 );