From fd8b2817314ee5c5fcbfcc3084b7f5bf7feaf14b Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 22 Apr 2023 21:17:52 +0100 Subject: [PATCH] Formatting. --- .../netlist_exporters/netlist_exporter_spice.cpp | 13 ++++++------- eeschema/sim/spice_settings.cpp | 9 +++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/eeschema/netlist_exporters/netlist_exporter_spice.cpp b/eeschema/netlist_exporters/netlist_exporter_spice.cpp index df2cc764f4..4df527bcb0 100644 --- a/eeschema/netlist_exporters/netlist_exporter_spice.cpp +++ b/eeschema/netlist_exporters/netlist_exporter_spice.cpp @@ -481,10 +481,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() ); @@ -536,9 +535,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 ee206b9463..dbac2b174c 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::USER_CONFIG ) +NGSPICE_SIMULATOR_SETTINGS::NGSPICE_SIMULATOR_SETTINGS( JSON_SETTINGS* aParent, + const std::string& aPath ) : + SPICE_SIMULATOR_SETTINGS( aParent, aPath ), + m_modelMode( NGSPICE_MODEL_MODE::USER_CONFIG ) { m_params.emplace_back( new PARAM_ENUM( "model_mode", &m_modelMode, NGSPICE_MODEL_MODE::USER_CONFIG,