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:
parent
618f2c7abd
commit
bcc9db8e0a
|
|
@ -7123,7 +7123,7 @@ static bool inp_temper_compat(struct card *card)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
/* exclude some elements */
|
/* exclude some elements */
|
||||||
if (strchr("*vbiegfh", curr_line[0]))
|
if (strchr("*vbiegfhVBIEGFH", curr_line[0]))
|
||||||
continue;
|
continue;
|
||||||
/* exclude all dot commands except .model */
|
/* exclude all dot commands except .model */
|
||||||
if (curr_line[0] == '.' && !prefix(".model", curr_line))
|
if (curr_line[0] == '.' && !prefix(".model", curr_line))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue