Fix reversed arguments in ltspice importer

This commit is contained in:
Ian McInerney 2023-06-15 23:01:39 +01:00
parent b73cc7db4a
commit 4761815f36
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ void LTSPICE_SCHEMATIC::Load( SCHEMATIC* aSchematic, SCH_SHEET* aRootSheet,
std::map tempAsyMap = ReadAsyFiles( tempVector, mapOfAsyFiles );
wxString ascFileName = ascFiles[i].Name.GetName();
LT_ASC dummyAsc;
LT_SYMBOL tempSymbol = SymbolBuilder( tempAsyMap[ascFileName], ascFileName, dummyAsc );
LT_SYMBOL tempSymbol = SymbolBuilder( ascFileName, tempAsyMap[ascFileName], dummyAsc );
LIB_SYMBOL* tempLibSymbol = new LIB_SYMBOL( std::string( ascFiles[i].Name.GetName() ) );
parser.CreateSymbol( tempSymbol, tempLibSymbol );