diff --git a/eeschema/netlist_exporters/netlist_exporter_spice.cpp b/eeschema/netlist_exporters/netlist_exporter_spice.cpp index ac3ca6e87d..04b75efa85 100644 --- a/eeschema/netlist_exporters/netlist_exporter_spice.cpp +++ b/eeschema/netlist_exporters/netlist_exporter_spice.cpp @@ -483,10 +483,9 @@ void NETLIST_EXPORTER_SPICE::readModel( SCH_SHEET_PATH& aSheet, SCH_SYMBOL& aSym if( !cacheFile.IsOpened() ) { - DisplayErrorMessage( m_dialogParent, - wxString::Format( _( "Could not open file '%s' to write " - "IBIS model" ), - cacheFn.GetFullPath() ) ); + DisplayErrorMessage( m_dialogParent, wxString::Format( _( "Could not open file '%s' " + "to write IBIS model" ), + cacheFn.GetFullPath() ) ); } auto spiceGenerator = static_cast( kibisModel->SpiceGenerator() ); @@ -538,9 +537,9 @@ void NETLIST_EXPORTER_SPICE::writeInclude( OUTPUTFORMATTER& aFormatter, unsigned if( fullPath.IsEmpty() ) { - DisplayErrorMessage( m_dialogParent, - wxString::Format( _( "Could not find library file '%s'" ), - expandedPath ) ); + DisplayErrorMessage( m_dialogParent, wxString::Format( _( "Could not find library file " + "'%s'" ), + expandedPath ) ); fullPath = expandedPath; } else if( wxFileName::GetPathSeparator() == '\\' ) diff --git a/eeschema/sim/spice_settings.cpp b/eeschema/sim/spice_settings.cpp index 2382d169b4..1e1b29716f 100644 --- a/eeschema/sim/spice_settings.cpp +++ b/eeschema/sim/spice_settings.cpp @@ -2,6 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2021 CERN + * Copyright (C) 2021-2023 KiCad Developers, see AUTHORS.txt for contributors. * * @author Wayne Stambaugh * @@ -47,10 +48,10 @@ bool SPICE_SIMULATOR_SETTINGS::operator==( const SPICE_SIMULATOR_SETTINGS &aRhs } -NGSPICE_SIMULATOR_SETTINGS::NGSPICE_SIMULATOR_SETTINGS( - JSON_SETTINGS* aParent, const std::string& aPath ) : - SPICE_SIMULATOR_SETTINGS( aParent, aPath ), - m_modelMode( NGSPICE_MODEL_MODE::LT_PSPICE ) +NGSPICE_SIMULATOR_SETTINGS::NGSPICE_SIMULATOR_SETTINGS( JSON_SETTINGS* aParent, + const std::string& aPath ) : + SPICE_SIMULATOR_SETTINGS( aParent, aPath ), + m_modelMode( NGSPICE_MODEL_MODE::LT_PSPICE ) { m_params.emplace_back( new PARAM_ENUM( "model_mode", &m_modelMode, NGSPICE_MODEL_MODE::LT_PSPICE,