From 89a4964c173a21662c27cc17f1c7dde491f52486 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Mon, 7 Mar 2005 16:34:42 +0000
Subject: add menuconfig fix from uclibc buildroot

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@341 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/config/mconf.c | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'package')

diff --git a/package/config/mconf.c b/package/config/mconf.c
index 0db6f8f6c8..22ba1f302f 100644
--- a/package/config/mconf.c
+++ b/package/config/mconf.c
@@ -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) {
-- 
cgit v1.2.3