Fix typo when un-escaping parameter name.

This commit is contained in:
Jeff Young 2022-12-23 12:26:33 +00:00
parent 987f330b19
commit cd7be966c0
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ std::string SPICE_GENERATOR::ModelLine( const SPICE_ITEM& aItem ) const
// Because of collisions with instance parameters, we append some model parameters
// with "_".
if( boost::ends_with( param.info.name, "_" ) )
name = name.substr( 0, param.info.name.length() - 1 );
name = param.info.name.substr( 0, param.info.name.length() - 1 );
else
name = param.info.name;
}