Browse Source

Fixed compil issues in debug mode

pull/1/head
jean-pierre charras 15 years ago
parent
commit
46b57190ff
  1. 11
      gerbview/class_gerber_draw_item.h
  2. 2
      gerbview/rs274d.cpp

11
gerbview/class_gerber_draw_item.h

@ -179,6 +179,17 @@ public:
bool Save( FILE* aFile ) const;
#if defined(DEBUG)
/**
* Function Show
* is used to output the object tree, currently for debugging only.
* @param nestLevel An aid to prettier tree indenting, and is the level
* of nesting of this object within the overall tree.
* @param os The ostream& to output to.
*/
virtual void Show( int nestLevel, std::ostream& os );
#endif
};
#endif /* CLASS_GERBER_DRAW_ITEM_H */

2
gerbview/rs274d.cpp

@ -1006,7 +1006,7 @@ bool GERBER::Execute_DCODE_Command( WinEDA_GerberFrame* frame,
{
if( m_LayerNegative ^ m_ImageNegative )
gbritem->m_Flags |= DRAW_ERASED;
D( printf( "\nm_Flags=0x%08X\n", edge_poly->m_Flags ); )
D( printf( "\nm_Flags=0x%08X\n", gbritem->m_Flags ); )
}
break;
}

Loading…
Cancel
Save