mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-09-07 04:53:15 +02:00
precautionary prevent passing instances which internally have got
upper case lettering. Removes a crash reported in https://gitlab.com/kicad/code/kicad/-/issues/18648.
This commit is contained in:
@@ -7193,7 +7193,7 @@ static bool inp_temper_compat(struct card *card)
|
||||
continue;
|
||||
}
|
||||
/* exclude some elements */
|
||||
if (strchr("*vbiegfh", curr_line[0]))
|
||||
if (strchr("*vbiegfhVBIEGFH", curr_line[0]))
|
||||
continue;
|
||||
/* exclude all dot commands except .model */
|
||||
if (curr_line[0] == '.' && !prefix(".model", curr_line))
|
||||
|
||||
Reference in New Issue
Block a user