Simple options: guard against boolean being null
This commit is contained in:
@@ -7789,6 +7789,8 @@ rerun:
|
|||||||
switch (allopt[i].opttyp) {
|
switch (allopt[i].opttyp) {
|
||||||
case BoolOpt:
|
case BoolOpt:
|
||||||
bool_p = allopt[i].addr;
|
bool_p = allopt[i].addr;
|
||||||
|
if (!bool_p)
|
||||||
|
continue;
|
||||||
Sprintf(buf, fmtstr_doset, "",
|
Sprintf(buf, fmtstr_doset, "",
|
||||||
name, *bool_p ? "X" : " ");
|
name, *bool_p ? "X" : " ");
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user