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:
Holger Vogt
2024-12-27 11:18:00 +01:00
parent ffde17441b
commit a4e443fcce
+1 -1
View File
@@ -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))