diff options
author | Cheng Renquan | 2009-07-12 16:11:46 +0800 |
---|---|---|
committer | Sam Ravnborg | 2009-09-20 12:27:42 +0200 |
commit | 4779105e03cdb6639706991081839451d709230b (patch) | |
tree | d9c374383c9ddf575f5f6d6e8c8911793f685942 /scripts/kconfig/menu.c | |
parent | 66c4bd808508ae99e00e979ab3e9a1c6a6a7ad45 (diff) |
kconfig: make use of menu_get_ext_help in gconfig
Futhermore, gconfig interface lack the "search a symbol" function, do later.
Signed-off-by: Cheng Renquan <crquan@gmail.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
[sam: fix SEGV in gconfig]
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/kconfig/menu.c')
-rw-r--r-- | scripts/kconfig/menu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c index 931d782a2392..b74f74687005 100644 --- a/scripts/kconfig/menu.c +++ b/scripts/kconfig/menu.c @@ -528,5 +528,6 @@ void menu_get_ext_help(struct menu *menu, struct gstr *help) } else { str_append(help, nohelp_text); } - get_symbol_str(help, sym); + if (sym) + get_symbol_str(help, sym); } |