Bugfix for NETLIST_EXPORTER_PSPICE::GetSpiceField()
This commit is contained in:
parent
caef84d622
commit
6e05d1656b
|
@ -144,7 +144,7 @@ wxString NETLIST_EXPORTER_PSPICE::GetSpiceField( SPICE_FIELD aField,
|
|||
SCH_COMPONENT* aComponent, unsigned aCtl )
|
||||
{
|
||||
SCH_FIELD* field = aComponent->FindField( GetSpiceFieldName( aField ) );
|
||||
return field ? field->GetText() : GetSpiceFieldDefVal( SF_PRIMITIVE, aComponent, aCtl );
|
||||
return field ? field->GetText() : GetSpiceFieldDefVal( aField, aComponent, aCtl );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue