Fix a few compil issues.
Round 2: Fixes #6782 https://gitlab.com/kicad/code/kicad/issues/6782
This commit is contained in:
parent
d0cba4b096
commit
bd7c3447e0
|
@ -49,30 +49,30 @@ static const BITMAP_OPAQUE dummy_xpm[1] = {{ dummy_png, sizeof( dummy_png ), "du
|
|||
|
||||
|
||||
EDA_ITEM::EDA_ITEM( EDA_ITEM* parent, KICAD_T idType ) :
|
||||
m_structType( idType ),
|
||||
m_status( 0 ),
|
||||
m_parent( parent ),
|
||||
m_forceVisible( false ),
|
||||
m_flags( 0 )
|
||||
m_flags( 0 ),
|
||||
m_structType( idType )
|
||||
{ }
|
||||
|
||||
|
||||
EDA_ITEM::EDA_ITEM( KICAD_T idType ) :
|
||||
m_structType( idType ),
|
||||
m_status( 0 ),
|
||||
m_parent( nullptr ),
|
||||
m_forceVisible( false ),
|
||||
m_flags( 0 )
|
||||
m_flags( 0 ),
|
||||
m_structType( idType )
|
||||
{ }
|
||||
|
||||
|
||||
EDA_ITEM::EDA_ITEM( const EDA_ITEM& base ) :
|
||||
m_Uuid( base.m_Uuid ),
|
||||
m_structType( base.m_structType ),
|
||||
m_status( base.m_status ),
|
||||
m_parent( base.m_parent ),
|
||||
m_forceVisible( base.m_forceVisible ),
|
||||
m_flags( base.m_flags )
|
||||
m_flags( base.m_flags ),
|
||||
m_structType( base.m_structType )
|
||||
{ }
|
||||
|
||||
|
||||
|
|
|
@ -325,7 +325,7 @@ bool HPGL_PLOTTER::EndPlot()
|
|||
pen_up = true;
|
||||
}
|
||||
|
||||
fputs( item.content, m_outputFile );
|
||||
fputs( static_cast<const char*>( item.content.utf8_str() ), m_outputFile );
|
||||
|
||||
if( !item.pen_returns )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue