Fix typo when un-escaping parameter name.
This commit is contained in:
parent
987f330b19
commit
cd7be966c0
|
@ -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
|
// Because of collisions with instance parameters, we append some model parameters
|
||||||
// with "_".
|
// with "_".
|
||||||
if( boost::ends_with( param.info.name, "_" ) )
|
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
|
else
|
||||||
name = param.info.name;
|
name = param.info.name;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue