diff --git a/eeschema/netlist_exporters/netlist_exporter_pspice.cpp b/eeschema/netlist_exporters/netlist_exporter_pspice.cpp index 6a4511a..fd1cc37 100644 --- a/eeschema/netlist_exporters/netlist_exporter_pspice.cpp +++ b/eeschema/netlist_exporters/netlist_exporter_pspice.cpp @@ -83,6 +83,10 @@ bool NETLIST_EXPORTER_PSPICE::Format( OUTPUTFORMATTER* aFormatter, unsigned aCtl full_path = lib; } } + else + { + full_path = lib; // just use the unaltered path + } aFormatter->Print( 0, ".include \"%s\"\n", (const char*) full_path.c_str() ); }