Comment 1 for bug 1652353

Revision history for this message
tekHedd (tekhedd) wrote :

On further consideration, i think this bug primarily affects the spice netlist export.

The diff is so small I'm just pasting it. :)

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() );
     }