projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
config: Fix help text not displayed in choice option.
[carl9170fw.git]
/
config
/
menu.c
diff --git
a/config/menu.c
b/config/menu.c
index d66008639a43f46e60235dee932558a6c4d00223..beeb92e75f8f01208ee3065d5d74dc53a732aa50 100644
(file)
--- a/
config/menu.c
+++ b/
config/menu.c
@@
-597,11
+597,10
@@
void menu_get_ext_help(struct menu *menu, struct gstr *help)
struct symbol *sym = menu->sym;
if (menu_has_help(menu)) {
struct symbol *sym = menu->sym;
if (menu_has_help(menu)) {
- if (sym->name)
{
+ if (sym->name)
str_printf(help, "%s%s:\n\n", CONFIG_, sym->name);
str_printf(help, "%s%s:\n\n", CONFIG_, sym->name);
- str_append(help, _(menu_get_help(menu)));
- str_append(help, "\n");
- }
+ str_append(help, _(menu_get_help(menu)));
+ str_append(help, "\n");
} else {
str_append(help, nohelp_text);
}
} else {
str_append(help, nohelp_text);
}