diff options
Diffstat (limited to 'scripts/kconfig/nconf.c')
-rw-r--r-- | scripts/kconfig/nconf.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c index 272a987f23e0..db56377393d7 100644 --- a/scripts/kconfig/nconf.c +++ b/scripts/kconfig/nconf.c | |||
@@ -248,7 +248,7 @@ search_help[] = N_( | |||
248 | "Only relevant lines are shown.\n" | 248 | "Only relevant lines are shown.\n" |
249 | "\n\n" | 249 | "\n\n" |
250 | "Search examples:\n" | 250 | "Search examples:\n" |
251 | "Examples: USB = > find all symbols containing USB\n" | 251 | "Examples: USB => find all symbols containing USB\n" |
252 | " ^USB => find all symbols starting with USB\n" | 252 | " ^USB => find all symbols starting with USB\n" |
253 | " USB$ => find all symbols ending with USB\n" | 253 | " USB$ => find all symbols ending with USB\n" |
254 | "\n"); | 254 | "\n"); |
@@ -1266,9 +1266,13 @@ static void conf_choice(struct menu *menu) | |||
1266 | if (child->sym == sym_get_choice_value(menu->sym)) | 1266 | if (child->sym == sym_get_choice_value(menu->sym)) |
1267 | item_make(child, ':', "<X> %s", | 1267 | item_make(child, ':', "<X> %s", |
1268 | _(menu_get_prompt(child))); | 1268 | _(menu_get_prompt(child))); |
1269 | else | 1269 | else if (child->sym) |
1270 | item_make(child, ':', " %s", | 1270 | item_make(child, ':', " %s", |
1271 | _(menu_get_prompt(child))); | 1271 | _(menu_get_prompt(child))); |
1272 | else | ||
1273 | item_make(child, ':', "*** %s ***", | ||
1274 | _(menu_get_prompt(child))); | ||
1275 | |||
1272 | if (child->sym == active){ | 1276 | if (child->sym == active){ |
1273 | last_top_row = top_row(curses_menu); | 1277 | last_top_row = top_row(curses_menu); |
1274 | selected_index = i; | 1278 | selected_index = i; |
@@ -1334,7 +1338,7 @@ static void conf_choice(struct menu *menu) | |||
1334 | break; | 1338 | break; |
1335 | 1339 | ||
1336 | child = item_data(); | 1340 | child = item_data(); |
1337 | if (!child || !menu_is_visible(child)) | 1341 | if (!child || !menu_is_visible(child) || !child->sym) |
1338 | continue; | 1342 | continue; |
1339 | switch (res) { | 1343 | switch (res) { |
1340 | case ' ': | 1344 | case ' ': |