diff --git a/eeschema/netlist_exporters/netlist_exporter_pspice.cpp b/eeschema/netlist_exporters/netlist_exporter_pspice.cpp index 2d3d5c4519..8c5198f7bb 100644 --- a/eeschema/netlist_exporters/netlist_exporter_pspice.cpp +++ b/eeschema/netlist_exporters/netlist_exporter_pspice.cpp @@ -134,7 +134,7 @@ bool NETLIST_EXPORTER_PSPICE::Format( OUTPUTFORMATTER* aFormatter, unsigned aCtl // Print out all directives found in the text fields on the schematics writeDirectives( aFormatter, aCtl ); - aFormatter->Print( -1, ".end\n" ); + aFormatter->Print( 0, ".end\n" ); return true; }