From e3aad7849ca0ffb62b5dac6f481c0d5069c1b0bc Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Mon, 3 Aug 2020 23:11:55 +0200 Subject: [PATCH] remove vceo= and icrating= from bjt model cards --- src/frontend/inpcom.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 65599199c..ef0fe5db7 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -8349,6 +8349,28 @@ static void rem_mfg_from_models(struct card *deck) start++; } } + start = strstr(curr_line, "icrating="); + if (start) { + end = nexttok(start); + if (*end == '\0') + *start = '\0'; + else + while (start < end) { + *start = ' '; + start++; + } + } + start = strstr(curr_line, "vceo="); + if (start) { + end = nexttok(start); + if (*end == '\0') + *start = '\0'; + else + while (start < end) { + *start = ' '; + start++; + } + } } } }