Simple options: guard against boolean being null

This commit is contained in:
Pasi Kallinen
2022-08-04 20:08:19 +03:00
parent b3822cd94d
commit c8bd39c748

View File

@@ -7789,6 +7789,8 @@ rerun:
switch (allopt[i].opttyp) {
case BoolOpt:
bool_p = allopt[i].addr;
if (!bool_p)
continue;
Sprintf(buf, fmtstr_doset, "",
name, *bool_p ? "X" : " ");
break;