Commit d60e906a authored by charras's avatar charras

doc update.

parent 0cc46a79
No preview for this file type
This diff is collapsed.
...@@ -342,7 +342,9 @@ void MODULE::DrawEdgesOnly( WinEDA_DrawPanel* panel, wxDC* DC, ...@@ -342,7 +342,9 @@ void MODULE::DrawEdgesOnly( WinEDA_DrawPanel* panel, wxDC* DC,
} }
/**************************************/
bool MODULE::Save( FILE* aFile ) const bool MODULE::Save( FILE* aFile ) const
/**************************************/
{ {
char statusTxt[8]; char statusTxt[8];
BOARD_ITEM* item; BOARD_ITEM* item;
......
...@@ -71,7 +71,9 @@ TEXTE_MODULE::~TEXTE_MODULE() ...@@ -71,7 +71,9 @@ TEXTE_MODULE::~TEXTE_MODULE()
} }
/*******************************************/
bool TEXTE_MODULE::Save( FILE* aFile ) const bool TEXTE_MODULE::Save( FILE* aFile ) const
/*******************************************/
{ {
MODULE* parent = (MODULE*) GetParent(); MODULE* parent = (MODULE*) GetParent();
int orient = m_Orient; int orient = m_Orient;
...@@ -79,7 +81,7 @@ bool TEXTE_MODULE::Save( FILE* aFile ) const ...@@ -79,7 +81,7 @@ bool TEXTE_MODULE::Save( FILE* aFile ) const
if( parent ) if( parent )
orient += parent->m_Orient; orient += parent->m_Orient;
int ret = fprintf( aFile, "T%d %d %d %d %d %d %d %c %c %d \"%.16s\"\n", int ret = fprintf( aFile, "T%d %d %d %d %d %d %d %c %c %d \"%s\"\n",
m_Type, m_Type,
m_Pos0.x, m_Pos0.y, m_Pos0.x, m_Pos0.y,
m_Size.y, m_Size.x, m_Size.y, m_Size.x,
......
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