Browse Source

precautionary prevent passing instances which internally have got

upper case lettering. Removes a crash reported in
https://gitlab.com/kicad/code/kicad/-/issues/18648.
pre-master-46
Holger Vogt 1 year ago
parent
commit
a4e443fcce
  1. 2
      src/frontend/inpcom.c

2
src/frontend/inpcom.c

@ -7193,7 +7193,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…
Cancel
Save