add menuconfig fix from uclibc buildroot
authorFelix Fietkau <nbd@openwrt.org>
Mon, 7 Mar 2005 16:34:42 +0000 (16:34 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 7 Mar 2005 16:34:42 +0000 (16:34 +0000)
SVN-Revision: 341

openwrt/package/config/mconf.c

index 0db6f8f6c8a8d1d76e660194b0f924d1b82eeb22..22ba1f302f2bc3f61e7eb5596ddf5ed5b86b6470 100644 (file)
@@ -308,6 +308,12 @@ static void build_conf(struct menu *menu)
                        return;
                }
        } else {
+                if (menu == current_menu) {
+                        cprint_tag(":%p", menu);
+                        cprint_name("---%*c%s", indent + 1, ' ', menu_get_prompt(menu));
+                        goto conf_childs;
+                }
+
                child_count++;
                val = sym_get_tristate_value(sym);
                if (sym_is_choice_value(sym) && val == yes) {