Formatting.

This commit is contained in:
Jeff Young 2023-04-22 21:17:52 +01:00
parent d8481b4528
commit fd8b281731
2 changed files with 11 additions and 11 deletions

View File

@ -481,9 +481,8 @@ 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" ),
DisplayErrorMessage( m_dialogParent, wxString::Format( _( "Could not open file '%s' "
"to write IBIS model" ),
cacheFn.GetFullPath() ) );
}
@ -536,8 +535,8 @@ void NETLIST_EXPORTER_SPICE::writeInclude( OUTPUTFORMATTER& aFormatter, unsigned
if( fullPath.IsEmpty() )
{
DisplayErrorMessage( m_dialogParent,
wxString::Format( _( "Could not find library file '%s'" ),
DisplayErrorMessage( m_dialogParent, wxString::Format( _( "Could not find library file "
"'%s'" ),
expandedPath ) );
fullPath = expandedPath;
}

View File

@ -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 <stambaughw@gmail.com>
*
@ -47,8 +48,8 @@ bool SPICE_SIMULATOR_SETTINGS::operator==( const SPICE_SIMULATOR_SETTINGS &aRhs
}
NGSPICE_SIMULATOR_SETTINGS::NGSPICE_SIMULATOR_SETTINGS(
JSON_SETTINGS* aParent, const std::string& aPath ) :
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 )
{