From 4761815f360b98623dd0fade3cf7b046d58b8c1c Mon Sep 17 00:00:00 2001 From: Ian McInerney Date: Thu, 15 Jun 2023 23:01:39 +0100 Subject: [PATCH] Fix reversed arguments in ltspice importer --- eeschema/sch_plugins/ltspice/ltspice_schematic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sch_plugins/ltspice/ltspice_schematic.cpp b/eeschema/sch_plugins/ltspice/ltspice_schematic.cpp index d71d584931..7c3669fd0e 100644 --- a/eeschema/sch_plugins/ltspice/ltspice_schematic.cpp +++ b/eeschema/sch_plugins/ltspice/ltspice_schematic.cpp @@ -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 );