From ba276fe470cc50fd85842202f0b3928ce0349824 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Mon, 2 May 2022 16:28:39 -0700 Subject: [PATCH] Fix botched commit --- eeschema/netlist_exporters/netlist_exporter_pspice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/netlist_exporters/netlist_exporter_pspice.cpp b/eeschema/netlist_exporters/netlist_exporter_pspice.cpp index a8cfa6ea10..9886cc3f20 100644 --- a/eeschema/netlist_exporters/netlist_exporter_pspice.cpp +++ b/eeschema/netlist_exporters/netlist_exporter_pspice.cpp @@ -74,7 +74,7 @@ bool NETLIST_EXPORTER_PSPICE::WriteNetlist( const wxString& aOutFileName, unsign { wxString msg; msg.Printf( _( "Failed to create file '%s'." ), aOutFileName ); - DisplayError( m_schematic, msg ); + DisplayError( nullptr, msg ); return false; } }