diff options
author | Cheng Renquan <crquan@gmail.com> | 2009-07-12 04:11:46 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-09-20 06:27:42 -0400 |
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) | |||
528 | } else { | 528 | } else { |
529 | str_append(help, nohelp_text); | 529 | str_append(help, nohelp_text); |
530 | } | 530 | } |
531 | get_symbol_str(help, sym); | 531 | if (sym) |
532 | get_symbol_str(help, sym); | ||
532 | } | 533 | } |