Fix bone-headed logic.

(Else clause never gets called because 3 is always > 2.)
This commit is contained in:
Jeff Young 2023-03-05 22:38:09 +00:00
parent 61d30ee5bc
commit 630ff02369
1 changed files with 2 additions and 1 deletions

View File

@ -2065,7 +2065,8 @@ bool SIMULATOR_FRAME::LoadWorkbook( const wxString& aPath )
simOptions &= ~NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_VOLTAGES;
simOptions &= ~NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_CURRENTS;
}
else if( version >= 3 )
if( version >= 3 )
{
simOptions &= ~NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_DISSIPATIONS;
}