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-11-23 15:47:06 +01:00
parent ffde17441b
commit a4e443fcce
1 changed files with 1 additions and 1 deletions

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))