summaryrefslogtreecommitdiff
path: root/extra/config/mconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'extra/config/mconf.c')
-rw-r--r--extra/config/mconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/config/mconf.c b/extra/config/mconf.c
index dad2f5f9d..27c0c5340 100644
--- a/extra/config/mconf.c
+++ b/extra/config/mconf.c
@@ -461,7 +461,7 @@ static void conf(struct menu *menu)
switch (type) {
case 'm':
if (single_menu_mode)
- submenu->data = (void *) !submenu->data;
+ submenu->data = (submenu->data)? NULL : (void *)1;
else
conf(submenu);
break;