fix error in commit 993a684.

This commit is contained in:
jean-pierre charras 2020-11-17 14:56:34 +01:00
parent 723b9e6a77
commit 9b2dac8df6
1 changed files with 1 additions and 1 deletions

View File

@ -1608,7 +1608,7 @@ void SCH_SEXPR_PLUGIN_CACHE::SaveSymbol( LIB_PART* aSymbol, OUTPUTFORMATTER& aFo
name = aFormatter.Quotew( unitName ); // Add quotes and escape chars like ") name = aFormatter.Quotew( unitName ); // Add quotes and escape chars like ")
name.pop_back(); // Remove last char: the quote ending the string. name.pop_back(); // Remove last char: the quote ending the string.
aFormatter.Print( aNestLevel + 1, "(symbol \%s_%d_%d\"\n", aFormatter.Print( aNestLevel + 1, "(symbol %s_%d_%d\"\n",
name.c_str(), unit.m_unit, unit.m_convert ); name.c_str(), unit.m_unit, unit.m_convert );
for( auto item : unit.m_items ) for( auto item : unit.m_items )