From 1c01cc001d9a109105bd6e43ea41be2790f4571a Mon Sep 17 00:00:00 2001 From: Sylwester Kocjan Date: Sat, 19 Oct 2019 21:33:43 +0200 Subject: [PATCH] eeschema: fixed recognizing SPICE sim directive --- eeschema/sim/netlist_exporter_pspice_sim.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eeschema/sim/netlist_exporter_pspice_sim.cpp b/eeschema/sim/netlist_exporter_pspice_sim.cpp index 716d05d54b..7be95a31e7 100644 --- a/eeschema/sim/netlist_exporter_pspice_sim.cpp +++ b/eeschema/sim/netlist_exporter_pspice_sim.cpp @@ -130,9 +130,9 @@ SIM_TYPE NETLIST_EXPORTER_PSPICE_SIM::GetSimType() SIM_TYPE NETLIST_EXPORTER_PSPICE_SIM::CommandToSimType( const wxString& aCmd ) { const std::map simCmds = { - { ".ac", ST_AC }, { ".dc", ST_DC }, { ".disto", ST_DISTORTION }, { ".noise", ST_NOISE }, - { ".op", ST_OP }, { ".pz", ST_POLE_ZERO }, { ".sens", ST_SENSITIVITY }, { ".tf", ST_TRANS_FUNC }, - { ".tran", ST_TRANSIENT } + { ".ac ", ST_AC }, { ".dc ", ST_DC }, { ".disto ", ST_DISTORTION }, { ".noise ", ST_NOISE }, + { ".op ", ST_OP }, { ".pz ", ST_POLE_ZERO }, { ".sens ", ST_SENSITIVITY }, { ".tf ", ST_TRANS_FUNC }, + { ".tran ", ST_TRANSIENT } }; wxString lcaseCmd = aCmd.Lower();