Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261635
b: refs/heads/master
c: 5416857
h: refs/heads/master
i:
  261633: 70eb696
  261631: c895baf
v: v3
  • Loading branch information
Arnaud Lacombe authored and Michal Marek committed Jul 13, 2011
1 parent 75c73c2 commit 84193c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e9882ac0e53332f6d7ab776e7a214a9cfbf3e4b4
refs/heads/master: 5416857867c9cc94aba641898c567d9707de30f1
14 changes: 1 addition & 13 deletions trunk/scripts/kconfig/nconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1221,19 +1221,7 @@ static void conf_message_callback(const char *fmt, va_list ap)
static void show_help(struct menu *menu)
{
struct gstr help = str_new();

if (menu && menu->sym && menu_has_help(menu)) {
if (menu->sym->name) {
str_printf(&help, "%s%s:\n\n", CONFIG_, menu->sym->name);
str_append(&help, _(menu_get_help(menu)));
str_append(&help, "\n");
get_symbol_str(&help, menu->sym);
} else {
str_append(&help, _(menu_get_help(menu)));
}
} else {
str_append(&help, nohelp_text);
}
menu_get_ext_help(menu, &help);
show_scroll_win(main_window, _(menu_get_prompt(menu)), str_get(&help));
str_free(&help);
}
Expand Down

0 comments on commit 84193c6

Please sign in to comment.