Commit bfe49371 authored by jean-pierre charras's avatar jean-pierre charras

Pcbnew: fix compil issue.

parent b536b1cf
......@@ -2167,7 +2167,7 @@ void KICAD_PLUGIN::loadZONE_CONTAINER()
BIU clearance = biuParse( line + SZ( "ZClearance" ), &data );
char* padoption = strtok( (char*) data, delims ); // data: " I"
int popt;
ZoneConnection popt;
switch( *padoption )
{
case 'I': popt = PAD_IN_ZONE; break;
......@@ -2181,7 +2181,7 @@ void KICAD_PLUGIN::loadZONE_CONTAINER()
}
zc->SetZoneClearance( clearance );
zc->SetPadOption( popt );
zc->SetPadConnection( popt );
}
else if( TESTLINE( "ZMinThickness" ) )
......@@ -3449,7 +3449,7 @@ void KICAD_PLUGIN::saveZONE_CONTAINER( const ZONE_CONTAINER* me ) const
// Save pad option and clearance
char padoption;
switch( me->GetPadOption() )
switch( me->GetPadConnection() )
{
default:
case PAD_IN_ZONE: padoption = 'I'; break;
......
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