Bugfix for NETLIST_EXPORTER_PSPICE::GetSpiceField()

This commit is contained in:
Maciej Suminski 2016-08-11 14:41:51 +02:00
parent caef84d622
commit 6e05d1656b
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}