From f2e75c96bef81a2107337d858ad85c7ea1c0d77b 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 (cherry picked from commit 1c01cc001d9a109105bd6e43ea41be2790f4571a) --- 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 ed93f5a402..61821d5de3 100644 --- a/eeschema/sim/netlist_exporter_pspice_sim.cpp +++ b/eeschema/sim/netlist_exporter_pspice_sim.cpp @@ -117,9 +117,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();