Fix typo.

Fixes https://gitlab.com/kicad/code/kicad/issues/13137
This commit is contained in:
Jeff Young 2022-12-12 14:42:24 +00:00
parent 2459b61aa6
commit ca5c0e2ac5
1 changed files with 1 additions and 1 deletions

View File

@ -315,5 +315,5 @@ std::string SIM_SERDE::GenerateParamValuePair( const SIM_MODEL::PARAM& aParam )
if( value == "" || value.find( " " ) != std::string::npos ) if( value == "" || value.find( " " ) != std::string::npos )
value = fmt::format( "\"{}\"", value ); value = fmt::format( "\"{}\"", value );
return fmt::format( "{}={}", aParam.info.name, value ); return fmt::format( "{}={}", name, value );
} }