aboutsummaryrefslogtreecommitdiffstats
path: root/com32/cmenu/complex.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/cmenu/complex.c')
-rw-r--r--com32/cmenu/complex.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/com32/cmenu/complex.c b/com32/cmenu/complex.c
index 90d43e75..7f8beeb8 100644
--- a/com32/cmenu/complex.c
+++ b/com32/cmenu/complex.c
@@ -211,6 +211,8 @@ t_handler_return checkbox_handler(t_menusystem * ms, t_menuitem * mi)
{
(void)ms; /* Unused */
+ t_handler_return rv;
+
if (mi->action != OPT_CHECKBOX)
return ACTION_INVALID;
@@ -236,7 +238,10 @@ t_handler_return checkbox_handler(t_menusystem * ms, t_menuitem * mi)
}
if (strcmp(mi->data, "mountcd") == 0)
flags.mountcd = (mi->itemdata.checked ? 1 : 0);
- return ACTION_VALID;
+
+ rv.valid = 0;
+ rv.refresh = 1;
+ return rv;
}
int main()