github fix and comment improvements:
* Fix a StrPrintf() %s count mismatch bug * Better comments * Use std::string::data() instead of a ref to the first char to get the str::string buffer (should not change anything with GNU lib)
This commit is contained in:
committed by
jean-pierre charras
parent
a9bf46a5de
commit
7c637ea7be
@@ -2695,12 +2695,12 @@ ZONE_CONTAINER* PCB_PARSER::parseZONE_CONTAINER() throw( IO_ERROR, PARSE_ERROR )
|
||||
|
||||
case T_chamfer:
|
||||
if( !zone->GetIsKeepout() ) // smoothing has meaning only for filled zones
|
||||
zone->SetCornerSmoothingType( ZONE_SETTINGS::SMOOTHING_CHAMFER );
|
||||
zone->SetCornerSmoothingType( ZONE_SETTINGS::SMOOTHING_CHAMFER );
|
||||
break;
|
||||
|
||||
case T_fillet:
|
||||
if( !zone->GetIsKeepout() ) // smoothing has meaning only for filled zones
|
||||
zone->SetCornerSmoothingType( ZONE_SETTINGS::SMOOTHING_FILLET );
|
||||
zone->SetCornerSmoothingType( ZONE_SETTINGS::SMOOTHING_FILLET );
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user